+ 1
How can I put it in the BOTTOM đ±
When i do html using SVG tag the rectangle appear on the top, how can i make it to go to the bottom. Any kinds of help is appreciated. Thanks đ
2 Answers
+ 1
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="Css.css">
<meta charset="utf-8">
<title>SVG for rect</title>
</head>
<body>
<svg class="what" width="1000" height="1000" >
<rect class="bot" width="69" height="15" fill="orange">
<animate attributeName="fill" from="green" to="red" dur="3s" fill="freeze" repeatCount="3"/>
</rect>
</svg></body>
</html>
help me to put it in the BOTTOM
0
In the css class afecting the svg you should use top and left properties yo absolute positioning them