Prev Demo
Rectangle Opacity
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Rectangle Opacity</title> </head> <body> <h2 style="color:magenta">Rectangle with opacity</h2> <svg width="250" height="180" style="border:2px solid green"> <rect x="50" y="20" width="100" height="90" style="fill:red;stroke:blue;stroke-width:1;opacity:1.0"> </rect> </svg> </body> </html>
Note: We DO NOT save your trial code in our database.
Output