[英]How to fix an image to the bottom right with resizing window?
您好,我正在尝试将图片固定在页面的右下角,并且使用CSS可以正常显示:
.logo img{
position: absolute;
bottom: 0;
right: 0;
}
但是在调整窗口大小时,图像位于内容之上,请问如何解决?
看看: http : //ryanfait.com/resources/footer-stick-to-bottom-of-page/
然后在图片上使用float:right
在CSS图像中使用负的“ z-index”,例如z-index: -1;
这会将图像拉到内容下方。
在这里看到我的小提琴: http : //jsfiddle.net/davidpauljunior/WzwA5/2/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.