-webkit-border-image: url(HE.png) 30 30 23 15 round round;
//边框图像
background: -webkit-gradient(linear, 0 0, 100 100, from(yellow), to(blue));
background:-webkit-linear-gradient(left top,red 100px,yellow);
background:-webkit-linear-gradient(-135deg,red 50px,yellow);
background:-webkit-linear-gradient(left top,rgba(160,232,10,1),rgba(3,188,250,0.5));
background:-webkit-linear-gradient(red,yellow,red,green);
//线性背景渐变
background: -webkit-radial-gradient(#eee 5px,green 15px,#faa 20px,#000 50px,red 55px);
//径向背景渐变
-webkit-animation: 1.5s flash linear infinite/forwards;
@-webkit-keyframes flash { //scale,translate
from { -webkit-transform: none;}
25% { -webkit-transform:rotate(-30deg);}
50% { -webkit-transform:rotate(0deg);}
75%{ -webkit-transform:rotate(30deg);
100%{ -webkit-transform:rotate(30deg);}
//旋转动画
-webkit-box-reflect: below 1px -webkit-gradient(linear,0 20%,0 100%,from(transparent),color-stop(0, transparent),to(#000));
-webkit-box-reflect:below 0 -webkit-linear-gradient(transparent,transparent 20%,rgba(255,255,255,.3));
//盒子反射
box-shadow:0px -10px 0px 2px #000,10px 0px #333;
//盒子多个阴影
@font-face{
font-family: myfont;
src:url(方正胖娃简体.ttf);
}
//字体引用
-webkit-transition:width 2s,height 2s,font-size 2s,font-weight 2s,background-color 2s,padding-top 2s, color 2s,border-radius 2s;等价于transition:all 3s
//过渡效果
text-shadow:2px 2px 6px black;
//文本阴影
//边框图像
background: -webkit-gradient(linear, 0 0, 100 100, from(yellow), to(blue));
background:-webkit-linear-gradient(left top,red 100px,yellow);
background:-webkit-linear-gradient(-135deg,red 50px,yellow);
background:-webkit-linear-gradient(left top,rgba(160,232,10,1),rgba(3,188,250,0.5));
background:-webkit-linear-gradient(red,yellow,red,green);
//线性背景渐变
background: -webkit-radial-gradient(#eee 5px,green 15px,#faa 20px,#000 50px,red 55px);
//径向背景渐变
-webkit-animation: 1.5s flash linear infinite/forwards;
@-webkit-keyframes flash { //scale,translate
from { -webkit-transform: none;}
25% { -webkit-transform:rotate(-30deg);}
50% { -webkit-transform:rotate(0deg);}
75%{ -webkit-transform:rotate(30deg);
100%{ -webkit-transform:rotate(30deg);}
//旋转动画
-webkit-box-reflect: below 1px -webkit-gradient(linear,0 20%,0 100%,from(transparent),color-stop(0, transparent),to(#000));
-webkit-box-reflect:below 0 -webkit-linear-gradient(transparent,transparent 20%,rgba(255,255,255,.3));
//盒子反射
box-shadow:0px -10px 0px 2px #000,10px 0px #333;
//盒子多个阴影
@font-face{
font-family: myfont;
src:url(方正胖娃简体.ttf);
}
//字体引用
-webkit-transition:width 2s,height 2s,font-size 2s,font-weight 2s,background-color 2s,padding-top 2s, color 2s,border-radius 2s;等价于transition:all 3s
//过渡效果
text-shadow:2px 2px 6px black;
//文本阴影