阴影扩展半径,就像原图和阴影图的距离一样。阴影扩展半径越大,则代表原图和阴影图的距离越远,产生的阴影面积就大一点了。
就像我们小时候看电影一样。
就像我们小时候看电影一样。
2015-12-18
语法:background-image:linear-gradient(to left渐变方向,颜色,颜色;可以多个颜色);
0deg = to top =从下到上渐变
90deg = to right =从左到右渐变
180deg = to bottom =从上到下渐变
270deg = to left =从右到左渐变
to top left =右下角到左上角
to top right=左下角到右上角
0deg = to top =从下到上渐变
90deg = to right =从左到右渐变
180deg = to bottom =从上到下渐变
270deg = to left =从右到左渐变
to top left =右下角到左上角
to top right=左下角到右上角
2015-12-18
li:first-child{样式} /*ul中第一个li元素样式*/
li:last-child{样式} /*ul中第一个最后元素样式*/
li:nth-child(n){样式} /*ul中从上到下第n个li元素样式*/
li:nth-last-child(n){样式} /*ul中从下到上第n个li元素样式(加上(last就是倒叙))*/
li:nth-child(even){样式} /*ul中从上到下第2·4·6个(序列为偶数)li元素样式*/
li:nth-child(odd){样式} /*ul中从上到下第1·3·5个(序列为奇数)li元素样式*/
li:last-child{样式} /*ul中第一个最后元素样式*/
li:nth-child(n){样式} /*ul中从上到下第n个li元素样式*/
li:nth-last-child(n){样式} /*ul中从下到上第n个li元素样式(加上(last就是倒叙))*/
li:nth-child(even){样式} /*ul中从上到下第2·4·6个(序列为偶数)li元素样式*/
li:nth-child(odd){样式} /*ul中从上到下第1·3·5个(序列为奇数)li元素样式*/
2015-12-18
.nav{
/*背景渐变*/
background-image:-moz-linear-gradient(top,#f65f57,#fff);
background-image:-webkit-linear-gradient(top,#f65f57,#fff);
/*制作圆*/
border-radius:8px 8px 10px 10px;
/*制作导航立体风格*/
box-shadow:0px 4px 0px #555;
}
/*背景渐变*/
background-image:-moz-linear-gradient(top,#f65f57,#fff);
background-image:-webkit-linear-gradient(top,#f65f57,#fff);
/*制作圆*/
border-radius:8px 8px 10px 10px;
/*制作导航立体风格*/
box-shadow:0px 4px 0px #555;
}
2015-12-18
<style type="text/css">
a[class^="column"]{
background:red;}
a[href$="doc"]{
background:green;}
a[title*="box"]{
background:blue;
}
</style>
a[class^="column"]{
background:red;}
a[href$="doc"]{
background:green;}
a[title*="box"]{
background:blue;
}
</style>
2015-12-17
a[class^="column"]{
background:red;}
a[href$="doc"]{
background:green;}
a[title*="box"]{
background:blue;
}
background:red;}
a[href$="doc"]{
background:green;}
a[title*="box"]{
background:blue;
}
2015-12-17