How do iconfont icon fonts achieve rotation?

how do iconfont icon fonts achieve rotation?

looked at some people on the Internet who said that they wanted to add display: inline-block,. I added it or it didn"t work. Ask for a big answer.

.transactions: before {
font-size: 1remt;
display: inline house blockade importance;
transform: rotate (135deg);
-ms-transform: rotate (135deg);
/ IE 9 /
-moz-transform: rotate (135deg);
/ Firefox /
-webkit-transform: rotate (135deg);
/ Safari and Chrome /
-OMAR transformations: rotate (135deg);
/ <

the loaded font icon comes out, but there is no rotation effect

Apr.05,2021

transition or keyframe+animation
suggest buying a book to learn css


dude, you have to get it moving


Little brother, you need to define an animation for it, for example:

.rotate:before {
  animation: rotate 0.5s infinite;
}
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

for more information, see w3school's Animation tutorial

.
Menu