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回答

好帮手慕码

2020-09-10

同学你好,代码实现正确。继续加油,祝学习愉快~

0

0 学习 · 40143 问题

查看课程