老师帮忙检查一下
来源:3-21 编程练习
老二次
2020-02-15 17:59:11
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>径向渐变</title>
<style type="text/css">
div{
width: 400px;
height: 400px;
background: -webkit-repeating-radial-gradient(circle,red 0%,orange 5%, yellow 10%, green 15%, blue 20%,cyan 25%, purple 30%);
background: -moz-repeating-radial-gradient(circle,red 0%,orange 5%, yellow 10%, green 15%, blue 20%,cyan 25%, purple 30%);
background: -o-repeating-radial-gradient(circle,red 0%,orange 5%, yellow 10%, green 15%, blue 20%,cyan 25%, purple 30%);
background: repeating-radial-gradient(circle,red 0%,orange 5%, yellow 10%, green 15%, blue 20%,cyan 25%, purple 30%);
}
</style>
</head>
<body>
<div></div>
</body>
</html>
1回答
同学你好,代码实现效果很棒。继续加油,祝学习愉快!
相似问题