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

后端 未结 6 1752
北荒
北荒 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-11 19:48

    You should just be ablemto set a width and height in css using a px measurement

    Eg

    div
    {
    width:100px; height:200px;
    }
    

提交回复
热议问题