123_何以
2015-06-03 21:00
<!DECTYPE html> <html> <head> <title></title> <style> #wrapper{ width:1024px; margin:() auto; } progress-bar{ height:40px; wedth:40px; background-color:#69c; } pregress-bar:hover{ width:960px; } #bar1{ -moz-transition:width 5s linear; } #bar2{ -moz-transition:width 5s ease; } #bar3{ -moz-transition:width 5s ease-in; } #bar4{ -moz-transition:width 5s ease-out; } #bar5{ -moz-transition:width 5s ease-in-out; } </style> </head> <body> <div id="wrapper"> <p>linear</p> <div class="progress-bar" id="bar1"></div> <p>ease</p> <div class="progress-bar" id="bar2"></div> <p>ease-in</p> <div class="progress-bar" id="bar3"></div> <p>ease-out</p> <div class="progress-bar" id="bar4"></div> <p>ease-in-out</p> <div class="progress-bar" id="bar5"></div> </div> </body> </html>
想问下为什么我的这个怎么显示不出来那效果呢?
好好检查一下吧,写代码这么不认真。
CSS3 3D 特效
78572 学习 · 425 问题
相似问题