1.原来背景渐变和文字渐变的css这么写的
2.
兼容所有浏览器的CSS3圆角
3.CSS3实战学习-创建漂亮的表单(3) 纯CSS背景渐变
4.
理解CSS3线性渐变
自己根据以上文章所作代码:
html结构
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题页</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="box">
<div class="box_title"><h4>中国</h4></div>
<div class="box_ct">
中国国中国是多方额撒旦法撒旦法
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题页</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="box">
<div class="box_title"><h4>中国</h4></div>
<div class="box_ct">
中国国中国是多方额撒旦法撒旦法
</div>
</div>
</body>
</html>