0

The difference between X and Y attributes?

x attribute animates element from left to the right, and y attribute animates element from up to the down

6th Aug 2017, 7:20 PM
Eldor Togaymurotov
Eldor Togaymurotov - avatar
4 ответов
+ 5
X-attribute animates svg-element from left to right and FROM RIGHT TO LEFT. Y-attribute animates svg-element from up to down and FROM DOWN TO UP.
6th Aug 2017, 7:40 PM
benka
benka - avatar
+ 4
x attribute position specific elements on the x-axis, y attribute on the y-axis ^^ (not for all svg element shapes: for example, <circle> shape element rater use 'cx' and 'cy' to define its position ;P) If used at 'animationName' attribute of an <animation> svg element, you can animate the specified property, so move the element along the specifoied axis coordinate (lesser values come to left or up, greater to right or bottom...).
7th Aug 2017, 7:21 AM
visph
visph - avatar
+ 2
Are you answering your own question?
10th Sep 2017, 5:11 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
0
x - horizontal y- vertical just co-ordinate you studied at school
14th Apr 2018, 6:55 PM
Rasul Kamolov
Rasul Kamolov - avatar