`
ck_2036
  • 浏览: 77340 次
  • 性别: Icon_minigender_1
  • 来自: 常州
社区版块
存档分类
最新评论

IE中块级a标签无法覆盖其他元素的解决方案

阅读更多
a标签在当作遮罩层来使用的时候, 在ie中需要设置透明背景, 才能覆盖底下的其他元素

.grid-wrap .clubs li a {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 2;
	width: 90px;
	height: 110px;
	background: url("about:blank");
}






  • 大小: 3.1 KB
  • 大小: 1.2 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics