ï¼è¿ä¸ªé®é¢åºè¯¥æ¯csså
¼å®¹æ§é®é¢å¯¼è´çãç®åç»å¤§é¨å移å¨æµè§å¨è¿ä¸æ¯æanimationè¿ä¸ªå±æ§ï¼èæ¯æ¯æ-webkit-animationï¼è¿ç±»å åç¼çï¼å±æ§ï¼å¨é®é¢ä¸ï¼<pre t="code" l="css">.ih { background: #000; opacity:.3;width: 90%; height: 25%; margin-left:-45%; position: absolute;bottom: 120px;left:50%;
animation:ih 2s;
}åªè®¾ç½®äºï¼animation: ih 2s; è没æåå
¼å®¹ç -webkit-animation: ih 2s;æ以å¨ç»å¨ç§»å¨æµè§å¨ä¸å°±ä¸å¨äºãä½ å¯ä»¥è¯ä¸å°ä¸é¢ä»£ç æ¹ä¸ºï¼
<pre t="code" l="css">.ih { background: #000; opacity:.3;width: 90%; height: 25%; margin-left:-45%; position: absolute;bottom: 120px;left:50%;
-webkit-animation:ih 2s;
-moz-animation:ih 2s;
-ms-animation:ih 2s;
-o-animation:ih 2s;
animation:ih 2s;
}å¸æè½å¸®ä½ 解å³é®é¢ï¼~~
温馨提示:内容为网友见解,仅供参考