<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style lang="">
body {
height: 200px;
background: -webkit-linear-gradient(red, green 30%); /* Safari 5.1 - 6.0 */
background: -o-linear-gradient(red, green 30%); /* Opera 11.1 - 12.0 */
background: -moz-linear-gradient(red , green 30%); /* Firefox 3.6 - 15 */
background: linear-gradient(red, green 30%); /* 标准的语法(必须放在最后) */
}
</style>
</head>
<body>
</body>
</html>
渐变色
最新推荐文章于 2024-03-16 16:13:59 发布