0
Can we tilt the rectangle for some angle using any attribute of svg?
8 Antworten
0
Thankyou very much.Its working.
+ 3
You can use transform attribute or css (with rotate function)
+ 3
... and see here for much more details about transform https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform
+ 3
I like this... Make sure to read on link that i posted and you would obtain very beautiful and complex effects 😉
Happy learning 👍👍👍
+ 2
Try
transform='rotate(20)'
+ 1
Thanks for responding.
+ 1
In <rect> element i gave transform="20".But it wasn't tilted.Instead it is showing some error.
+ 1
Sure