开发者

how do i make a small overlay at the bottom right corner with z-index 5?

开发者 https://www.devze.com 2022-12-09 04:31 出处:网络
i need a small overlay to display at the bottom right corner of the page i can\'t get the position right

i need a small overlay to display at the bottom right corner of the page

i can't get the position right

开发者_JS百科
div#overlay {
z-index: 5;
float: right;
}


div#overlay { position:absolute; bottom:0; right:0; }

Something like this? z-index is useless without the element having a position of absolute/fixed/relative.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号