CSS3 重复径向渐变
你可以尝试运行以下代码来在 CSS3 中实现重复径向渐变 −
示例
<html> <head> <style> #grad1 { height: 100px; width: 550px; background: -webkit-repeating-radial-gradient(blue, yellow 10%, green 15%); background: -o-repeating-radial-gradient(blue, yellow 10%, green 15%); background: -moz-repeating-radial-gradient(blue, yellow 10%, green 15%); background: repeating-radial-gradient(blue, yellow 10%, green 15%); } </style> </head> <body> <div id = "grad1"></div> </body> </html>
广告