怎么没有反应
没反应的
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | @-webkit-keyframes around{ 0% { -webkit-transform: translateX( 0 ); } 25% { -webkit-transform: translateX( 180px ); } 50% { -webkit-transform: translate( 180px , 180px ); } 75% { -webkit-transform:translate( 0 , 180px ); } 100% { -webkit-transform: translateY( 0 ); } } div { width : 200px ; height : 200px ; border : 1px solid red ; margin : 20px auto ; } div span { display : inline- block ; width : 20px ; height : 20px ; background : orange; border-radius: 100% ; -webkit-animation-name:around; -webkit-animation-duration: 10 s; -webkit-animation-timing-function: ease; -webkit-animation-delay: 1 s; -webkit-animation-iteration-count:infinite; } |
我是chrome 就以chrome为例了
CSS3 需要根据不同浏览器来使用不同前缀 达到兼容效果
举报