运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> #grad1 { height: 200px; background-color: #cccccc; background-image: radial-gradient(red, yellow, green); } </style> </head> <body> <h2>Radial Gradient as Background Image</h2> <p>This radial gradient starts in the center. It starts red, transitioning to yellow, then to green:</p> <div id="grad1"></div> </body> </html>