主頁
CSS
CSS 漸變
錐形漸變
Tryit:重複圓錐漸變
執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> #grad1 { height: 200px; width: 200px; background-color: red; /* For browsers that do not support gradients */ background-image: repeating-conic-gradient(red 10%, yellow 20%); border-radius: 50%; } </style> </head> <body> <h1>Repeating a Conic Gradient</h1> <div id="grad1"></div> </body> </html>