JSFiddle - React, Tailwind, and code Playground
by bestmomo
HTML
<div id="contenant">
<div id="x1" class="box">transform: rotate(20deg)</div>
<div id="origine" class="box">Origine</div>
<div id="x2" class="box">transform: rotate(-30deg)</div>
</div>
CSS
.box {
width: 150px;
height: 50px;
border: solid 2px blue;
margin: 10px;
}
#contenant {
padding: 20px 0 0 200px;
}
#x1 {
transform: rotate(20deg);
}
#x2 {
transform: rotate(-30deg);
}