您可以尝试运行以下代码以使用径向渐变创建不同间距的色标:
<!DOCTYPE html> <html> <head> <style> #demo { height: 200px; background: radial-gradient(orange 20%, green 15%, yellow 50%); } </style> </head> <body> <h2>Radial Gradient</h2> <div id = "demo">Radial Gradients</div><br> </body> </html>