Prev Demo
SVG Circle Opacity
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <h2 style="color:red"><i>SVG circle with opacity</i></h2> <svg width="300" height="100"> <circle cx="40" cy="40" r="24" style="stroke: pink; fill:red"/> <circle cx="64" cy="40" r="24" style="stroke: green; fill: red" fill-opacity="0.3" /> </svg> </body> </html>
Note: We DO NOT save your trial code in our database.
Output