0

why the transform teg isn't responding??

body {background:pink; } .name{background:orange;color:white;width:300px;padding:25px;border-radius:30px;margin:auto;transform:rotate(70deg);transform:scale (1.5);}

20th Jul 2020, 11:04 AM
Md Mobarak Hossain
3 odpowiedzi
+ 3
Do not post in comment section ,you should describe and write whatever in your question ,if you can link the code in description ,it would help us understand why it doesn't works
20th Jul 2020, 11:07 AM
Abhay
Abhay - avatar
+ 1
Don't put multiple transforms that way, it overrides the previous one. Do: transform:rotate(70deg) scale(1.5);
20th Jul 2020, 11:17 AM
Arnesh
Arnesh - avatar
+ 1
Alway remember in css, the same css selector always override the preceding one.
20th Jul 2020, 12:26 PM
Calviղ
Calviղ - avatar