How come this transform origin doesn't work [CSS]?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How come this transform origin doesn't work [CSS]??

I just asked something related to transform-origin, and it was as answered so I deleted the question, because I didn't want people to see the code and the question doesn't go without the code. Anyways, now I started using transform-origin, it doesn't work, donno why. ? I want it to transform-origin: right | 0 100%; I need It to be to right. Help: https://code.sololearn.com/WpPad7dY5uPb/?ref=app

8th Jul 2019, 4:19 AM
Ginfio
Ginfio - avatar
1 Answer
+ 3
transform-origin only affect transform animation only. Use transform in @keyframes instead. https://code.sololearn.com/WlXVf4rJ6857/?ref=app https://code.sololearn.com/WeMJm5h8L8B1/?ref=app
8th Jul 2019, 4:44 AM
Calviղ
Calviղ - avatar