JSFiddle - React, Tailwind, and code Playground
by edwardsharp
HTML
<div class="stripeContainer">
<div class="red stripe">
</div>
<div class="gold stripe">
</div>
<div class="green stripe">
</div>
</div>
<div class="circle">
</div>
CSS
.stripeContainer {
transform: rotateZ(-45deg);
overflow: hidden;
position: fixed;
z-index: 0;
width: 200vw;
top: 0;
right: -200px;
}
.stripe {
min-height: 66px;
margin-bottom: 66px;
}
.red {
background-color: red;
color: white;
}
.gold {
background-color: gold;
color: white;
}
.green {
background-color: seagreen;
color: white;
}
.circle {
box-shadow: 0 0 2px 20px black;
background-color: black;
border-radius: 9999px;
-moz-border-radius: 9999px;
-webkit-border-radius: 9999px;
height: 300px;
width: 300px;
z-index: 1;
position: fixed;
top:121px;
left:121px;
}