3-21 编程练习作业提交
来源:3-21 编程练习
MiMicccc
2020-09-10 01:05:42
<!DOCTYPE html>
<html>
<head lang="en">
<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%,cyan 20%,blue 25%,purple 30%);
background: -moz-repeating-radial-gradient(circle,red 0%,orange 5%,yellow 10%,green 15%,cyan 20%,blue 25%,purple 30%);
background: -o-repeating-radial-gradient(circle,red 0%,orange 5%,yellow 10%,green 15%,cyan 20%,blue 25%,purple 30%);
background: repeating-radial-gradient(circle,red 0%,orange 5%,yellow 10%,green 15%,cyan 20%,blue 25%,purple 30%);
}
</style>
</head>
<body>
<div></div>
</body>
</html>1回答
同学你好,代码实现正确。继续加油,祝学习愉快~
相似问题