---
title: "使用过的一些页面效果"
author: "zhoulei984623"
date: "2011-11-11T14:46:14Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2011-11-11T15:48:11Z"
id: 1253758
url: "https://crazysky.iteye.com/blog/1253758"
---

**一：颜色渐变效果**

正常样式：.row\_background\_style

![](http://dl.iteye.com/upload/attachment/586709/c96eff47-3ff0-35b0-a4fe-628f0a75fd19.png)

按下后的样式：.row\_background\_active

![](http://dl.iteye.com/upload/attachment/586711/7766944b-f6a7-3cfa-8566-e3c8a4fb447b.png)

 

 

```
.row_background_style {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd),
		to(#eee) );
	background-image: -webkit-linear-gradient(top, #fdfdfd, #eee);
	background-image: -moz-linear-gradient(top, #fdfdfd, #eee);
	background-image: -ms-linear-gradient(top, #fdfdfd, #eee);
	background-image: -o-linear-gradient(top, #fdfdfd, #eee);
	background-image: linear-gradient(top, #fdfdfd, #eee);
}

.row_background_active {
		background-image: -webkit-gradient(linear, left top, left bottom, from(#85BAE4),
		to(#5393C5) );
	background-image: -webkit-linear-gradient(top, #85BAE4, #5393C5);
	background-image: -moz-linear-gradient(top, #85BAE4, #5393C5);
	background-image: -ms-linear-gradient(top, #85BAE4, #5393C5);
	background-image: -o-linear-gradient(top, #85BAE4, #5393C5);
	background-image: linear-gradient(top, #85BAE4, #5393C5);
	}
```