Transforms
2D transforms
2D transforms modify position, rotation and size of elements using CSS.
Example - Rotating an element on hover
https://codepen.io/younes-jaaidi/pen/mGXpPz
3D transforms
Example - Rotating an element around the Y axis on hover with a perspective effect
https://codepen.io/younes-jaaidi/pen/XPZVgg
Detailed post concerning perspective
Last updated