How to keep a
constant in size as the user zooms in and out on the page?

后端 未结 6 1728
北荒
北荒 2020-12-11 19:30

Is there an html / css / javascipt way to maintain a

at a constant size in the face of the user\'s zooming the page in and out? That is, using control-plus to incre
6条回答
  •  时光说笑
    2020-12-11 20:00

    .box {
        background: red;
        width: 5vw;
        height: 10vh;
        position: absolute;
        top: 10vh;
        left: 5vw;
    }

提交回复
热议问题