#To create a circle with a radial gradient, you can try running the following code. Set another parameter in the radial gradient for a shape like a circle
Live Demo
<!DOCTYPE html> <html> <head> <style> #demo { height: 400px; background: radial-gradient(circle, red , blue, yellow); } </style> </head> <body> <h2>Radial Gradient</h2> <div id = "demo">Radial Gradients</div><br> </body> </html>
The above is the detailed content of Construct a circular radial gradient. For more information, please follow other related articles on the PHP Chinese website!