原创声明:本文为作者原创,未经允许不得转载,经授权转载需注明作者和出处
position,top,right,bottom,left,z-index,display,float
width,height,padding,margin
font,line-height,letter-spacing,color,text-align
background,border,opacity
animation,transition
.maomao {
/*定位*/
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 100;
/*盒模型*/
display: block;
float: right;
width: 100px;
height: 100px;
padding: 20px;
margin: 30px;
/*字体*/
font: italic small-caps 700 12px/1.5 "微软雅黑";
color: #666;
text-align: center;
/*背景*/
background: #229 url(maomao.png) no-repeat 15px center/20px content-box
border: 1px solid #000;
border-radius: 5px;
opacity: 1;
/*动画*/
animation: maomao 10s ease-in-out 3s 2 alternate
transition: width 10s ease-in-out 3s
}
/*2016/12/13新增*/
注意:
/* 注释内容 */