+ 1
how can we rotate text ni html???which attribyte or tag to be used???
3 ответов
+ 4
Transform:rotateX() or rotateY()
or rotate()
+ 1
There is not any special tag ok . But we have some css properties! As Abhay has mentioned
+ 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