JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<header>
<svg width="1200px" height="500" viewBox="0 0 4400 2000" preserveAspectRatio="none"
>
<rect class="works" width="100" height="100" fill="purple" stroke="white"/>
<rect class="works" width="100" height="100" fill="blue" stroke="white"/>
<rect class="works" width="100" height="100" fill="purple" stroke="white"/>
<rect class="works" width="100" height="100" fill="blue" stroke="white"/>
<rect class="works" width="100" height="100" fill="blue" stroke="white"/>
<line x1="0" y1="-150" x2="0" y2="0" stroke="white"/>
</svg>
</header>
</body>
SCSS
body {
background-color: black;
}
svg :first-of-type {
transform: translateX(300px) translateY(100px) rotate(45deg);}
svg :nth-of-type(2) {
transform: translateX(442px) translateY(100px) rotate(45deg);}
svg :nth-of-type(3) {
transform: translateX(442px) translateY(241px) rotate(45deg);}
svg :nth-of-type(4){
transform: translateX(369px) translateY(314px) rotate(45deg);}
svg :nth-of-type(5){
transform: translateX(515px) translateY(314px) rotate(45deg);}