css CSS3酷炫的渐变色

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css CSS3酷炫的渐变色相关的知识,希望对你有一定的参考价值。

border: solid 1px #C1BFBF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,.4), 0 1px 1px rgba(0,0,0,.1);
-moz-box-shadow: inset 0 -1px 0 rgba(255,255,255,.4), 0 1px 1px rgba(0,0,0,.1);
box-shadow: inset 0 -1px 0 rgba(255,255,255,.4), 0 1px 1px rgba(0,0,0,.1);
background: white;
background: -moz-linear-gradient(top, white 0%, #EDEDED 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,white), color-stop(100%,#EDEDED));
background: -webkit-linear-gradient(top, white 0%,#EDEDED 100%);
background: -o-linear-gradient(top, white 0%,#EDEDED 100%);
background: -ms-linear-gradient(top, white 0%,#EDEDED 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );
background: linear-gradient(top, white 0%,#EDEDED 100%);
border-image: initial;

以上是关于css CSS3酷炫的渐变色的主要内容,如果未能解决你的问题,请参考以下文章

CSS3进阶酷炫的3D旋转透视

分享酷炫的 CSS3 技巧的地方 [关闭]

CSS3进阶:酷炫的3D旋转透视

css3制作酷炫的相册集动画

CSS3渐变色详解

CSS进阶试试酷炫的 3D 视角