Chinaunix首页 | 论坛 | 博客
  • 博客访问: 461215
  • 博文数量: 226
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2111
  • 用 户 组: 普通用户
  • 注册时间: 2014-06-20 09:02
个人简介

web web web

文章分类

全部博文(226)

文章存档

2020年(2)

2019年(1)

2018年(3)

2017年(26)

2016年(57)

2015年(60)

2014年(77)

我的朋友

分类: Web开发

2015-05-21 08:35:52

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
  2.  
  3. <html xmlns="">

  4. <head>

  5. <FCK:meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  6. <title>渐变背景色</title>

  7. <style type="text/css">
  8.  .normaBg{
  9.     width:50px;
  10.     height:800px;
  11.     filter:alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=#52befa,endcolorstr=#27e9c6,gradientType=0);
  12.     -ms-filter:alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=#52befa,endcolorstr=#27e9c6,gradientType=0);/*IE8*/
  13.     background:#52befa;
  14.     background:-moz-linear-gradient(top, #52befa, #27e9c6);
  15.     background:-webkit-gradient(linear, 0 0, 0 bottom, from(#52befa), to(#27e9c6));
  16.  }

  17.  .alarmBg{
  18.     width:50px;
  19.     height:400px;
  20.     filter:alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=#52befa,endcolorstr=#e74048,gradientType=0);
  21.     -ms-filter:alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=#52befa,endcolorstr=#e74048,gradientType=0);/*IE8*/
  22.     background:#52befa;
  23.     background:-moz-linear-gradient(top, #52befa, #e74048);
  24.     background:-webkit-gradient(linear, 0 0, 0 bottom, from(#52befa), to(#e74048));
  25.  }
  26. </style>

  27. </head>

  28. <body>

  29.  <div class="alarmBg"></div>

  30. </body>

  31. </html>

阅读(707) | 评论(0) | 转发(0) |
0

上一篇:将网页转换成PDF

下一篇:记住用户名

给主人留下些什么吧!~~