solid:实心,就是填充的意思 android:color指定填充的颜色gradient:渐变 android:startColor和android:endColor分别为起始和结束颜色,ndroid:angle是渐变角度,必须为45的整数倍。 另外渐变默认的...
分类:
移动开发 时间:
2014-09-22 12:47:42
阅读次数:
207
(1):1.border-radius:圆角2.box-shadow:阴影3:linear-gradient:线性渐变各浏览器兼容性备注:-moz代表firefox浏览器私有属性-ms代表IE浏览器私有属性-webkit代表chrome、safari私有属性-o-代表opera代表opera私有属性...
分类:
其他好文 时间:
2014-09-19 01:06:44
阅读次数:
285
Gradient checking and advanced optimizationIn this section, we describe a method for numerically checking the derivatives computed by your code to mak...
分类:
其他好文 时间:
2014-09-18 16:28:14
阅读次数:
305
FILTER:progid:DXImageTransform.Microsoft.Gradient使用语法:filter:progid:DXImageTransform.Microsoft.Gradient(enabled=bEnabled,startColorStr=iWidth,endColor...
分类:
其他好文 时间:
2014-09-18 16:11:14
阅读次数:
137
.gradient-box{background-image:-webkit-linear-gradient(top,#ccc,#000);background-image:-moz-linear-gradient( top,#ccc,#000);background-image:linear-gr...
分类:
Web程序 时间:
2014-09-17 11:54:02
阅读次数:
292
原文来自:html5移动web开发实战 第83页如果你还想把IE9或者其他的iE版本支持css3,css3 PIE(http://css3pie.com)可以帮你下载PIE文件,通过如下的方式把它包含进你的CSS样式规则中:-pie-bakcgourn:linear-gradient(top,#ee...
分类:
Web程序 时间:
2014-09-15 12:45:18
阅读次数:
172
CSS3 Gradient 分为 linear-gradient(线性渐变)和radial-gradient(径向渐变) 。而我们今天主要是针对线性渐变来剖析其具体的用法。为了更好的应用 CSS3 Gradient,我们需要先了解一下目前的几种现代浏览器的内核,主要有 Mozilla(Firefox,Flock等)、WebKit(Safari、Chrome等)、Opera(Opera浏览器)、Tr...
分类:
Web程序 时间:
2014-09-12 17:22:54
阅读次数:
219
上篇文章介绍了 CSS3 线性渐变(linear-gradient),这篇文章向大家介绍 radial-gradient(径向渐变)以及重复渐变(线性重复、径向重复)。在以前,渐变效果和阴影、圆角效果一样都是做成图片,现在 CSS3 可以直接编写 CSS 代码来实现。
CSS3 径向渐变和线性渐变是很相似的,我们首先来看其语法:
.代码
-moz-radia...
分类:
Web程序 时间:
2014-09-12 17:21:57
阅读次数:
330
h1 { font-size: 72px; background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#333)); -webkit-background-clip: text; -webkit-te...
分类:
其他好文 时间:
2014-09-12 13:24:03
阅读次数:
177
IE系列filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#FF0000',endColorStr='#F9F900',gradientType='0');参数:startColorStr起始颜色 endColorSt...
分类:
Web程序 时间:
2014-09-12 13:21:33
阅读次数:
235