To apply multiple transforms in CSS, we set the transform
property with values all in 1 line.
For instance, we write
li:nth-child(2) {
transform: rotate(15deg) translate(-20px, 0px);
}
to set transform
to rotate(15deg) translate(-20px, 0px)
to rotate by 15 degrees and translate 20px to the left.