Rotate Icon Using Css Code Example


Example: rotate element css


div {
width: 80px;
height: 80px;
background-color: skyblue;
}

.rotated {
transform: rotate(45deg); /* Equal to rotateZ(45deg) */
background-color: pink;
}

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable