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

后端 未结 6 1748
北荒
北荒 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 19:46

    I am not sure what you mean, just use css:

    div#id {
        width: 100px; /*or some other #*/
        height: 100px; /*or some other #*/
    }
    

    html:

    some content

提交回复
热议问题