css3背景颜色渐变
2013-07-02 14:52
369 查看
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>Linear一下,你就知道</title> <style type="text/css"> html,body{margin: 0;padding: 0; height: 100%;} div{width: 33.3%;height: 100%; float: left;} .div1{ background-image: -webkit-linear-gradient(top, #8fa1ff, #3757fa); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c6ff00', endColorstr='#538300', GradientType='0'); } .div2{ background-image: -webkit-linear-gradient(top,#ff4f02,#8f2c00); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c6ff00', endColorstr='#538300', GradientType='0'); } .div3{ background-image: -webkit-linear-gradient(top,#ccc,#000); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c6ff00', endColorstr='#538300', GradientType='0'); } </style> </head> <body> <div class=div1 ></div> <div class=div2 ></div> <div class=div3 ></div> </body> </html>
相关文章推荐
- CSS3 背景颜色渐变
- CSS3实现背景颜色渐变 摘抄
- CSS3实现背景颜色渐变 摘抄
- CSS3实践之路(二): 颜色渐变(Gradient)和背景(Backgroud)
- 背景颜色渐变 css3 ---- 转自:至尊宝的BLOG http://blog.sina.com.cn/zzbnie
- css3的背景颜色渐变@线性渐变
- 使用CSS3的背景渐变Text Gradient 创建文字颜色渐变
- css3实现背景颜色渐变让图片不再是唯一的实现方式
- 背景颜色渐变 css3
- css3背景颜色渐变属性
- CSS3实现背景颜色渐变
- 1、CSS3背景颜色渐变
- css3背景颜色渐变
- CSS3 背景颜色渐变
- CSS3背景颜色渐变效果
- CSS3实现背景颜色渐变
- CSS3背景颜色渐变
- CSS3实现背景颜色渐变 摘抄
- css3 鼠标hover事件背景颜色渐变
- CSS3可视化渐变背景颜色代码生成插件