how can we rotate text ni html???which attribyte or tag to be used??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can we rotate text ni html???which attribyte or tag to be used???

30th May 2020, 12:16 PM
RIDHI SHARMA
RIDHI SHARMA - avatar
3 Answers
+ 4
Transform:rotateX() or rotateY() or rotate()
30th May 2020, 12:21 PM
Abhay
Abhay - avatar
+ 1
There is not any special tag ok . But we have some css properties! As Abhay has mentioned
30th May 2020, 12:30 PM
Ayush Kumar
Ayush Kumar - avatar
+ 1
To animate rotation of an element eg. div div { margin: auto; font-size: 10rem; animation: rotate1 .5s linear 0 infinite; } @keyframes rotate1 { from { tranform: rotate(0deg); } to { transform: rotate(360deg) } } https://code.sololearn.com/We9Zpp49KHyr/?ref=app
30th May 2020, 1:32 PM
Calviղ
Calviղ - avatar