感谢您的支持,我会继续努力的!
打开微信扫一扫,即可进行扫码打赏哦
点我查看本站打赏源码!
Powered by RUNCODEX.COM,学的不仅是技术,更是梦想!!!
<html>
<body>
<div id="sd">捉
</div>
<div id="dd">
sass
<div id="sf">5</div>
</body>
</html>
输入 JavaScript 代码……
xxxxxxxxxx
#dd{
margin-top:25px;
background:pink;
width:50px;
height:50px;
}
#sd{
width:100px;
color:red;
font-size:15px;
animation:o 2s infinite;
@keyframes o{
from{margin-left:0px;}
to{margin-left:200px;}
50%{width:10px;background:orange;}
80%{width:100px;background:pink;}
#sf{
border:1px solid;
animation:border 5s infinite;
@keyframes border{
from{border:1px solid black;}
to{border:15px solid orange;}