Bonjour je suis un trapéze
transform
property.perspective
allow us to use element in 3d environment.rotate
property on X axis move the element.p
markup in our div, Solution below.Bonjour je suis un trapéze
position: relative
in our parent element.::before
who will create an element as the first child that can be stylized later as we want.::before
we need to add this property
content: ''
.transform
property above, by this way only the ::before
element will be change.transform-origin
property to change the origin
of operations like rotate
scale
..