懵逼的我
2016-12-24 21:18
那个新增的背景不显示?层级设置到6都不显示,但在控制台看到效果都在没被覆盖,盒模型也正常
#page2>.loading-bg{ position: absolute; z-index:4; height: 100%; width: 100%; background-color:#ef1639; animation:loading 2s linear forwards; -webkit-animation:loading 2s linear forwards; } @-webkit-keyframes loading { from { opacity: 1; } to {opacity: 0;} } @-o-keyframes loading { from { opacity: 1; } to {opacity: 0;} } @-moz-keyframes loading { from { opacity: 1; } to {opacity: 0;} } @keyframes loading { from { opacity: 1; } to {opacity: 0;} }
loading_bg, 你animation名字写错了
HTML5+CSS3实现春节贺卡
110057 学习 · 450 问题
相似问题