亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - position fixed; height 100 is set but it is not the width and height of the browser's visible window. Please clarify.
天蓬老師
天蓬老師 2017-06-30 09:59:31
0
4
830

The following css style code is set, but the displayed height is not full screen, as shown in the figure.

.ss_hide{
    position: fixed;
    background: rgba(0,0,0,.2);
    height: 100%;
    width: 100%;
}

天蓬老師
天蓬老師

歡迎選擇我的課程,讓我們一起見(jiàn)證您的進(jìn)步~~

reply all(4)
阿神

Recommended to use in full screen

top: 0;
bottom: 0;
left: 0;
right: 0;
學(xué)霸

Check whether the size of your body and html are full screen. Or 100vh high and 100vw wide

曾經(jīng)蠟筆沒(méi)有小新

You must also add top:0;left:0;

淡淡煙草味

Absolute positioning is out of the document flow, right? Since everything is absolutely positioned top:0;left:0;right:0;bottom:0; just covers the screen

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template