background: url(imgurl) no-repeat;
background-size: 100% 100%;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=‘imgurl‘, sizingMethod=‘scale‘);
背景上面的元素被覆盖,无法点击。
解决:设置需要显示的元素的position:relative;z-index属性设置高一些即可。
时间: 2024-08-11 03:30:19