JSFiddle - React, Tailwind, and code Playground
by Marcel Hochman
HTML
<div class="cible">
<div class="cercle1"></div>
<div class="cercle2"></div>
<div class="cercle3"></div>
<div class="centre"></div>
</div>
CSS
.cercle1 {
display: block;
margin:auto;
width: 150px;
height: 150px;
border-radius: 50%;
background: #00FF00;
border: 12px solid black;
}
.cercle2 {
display:inline-block;
margin:auto;
width: 100px;
height: 100px;
border-radius: 50%;
background: #00FF00;
border: 12px solid black;
margin-top:0, auto;
margin-left: 0 auto;
text-align: center;
}
.cercle3 {
display:inline-block;
margin:auto;
width: 50px;
height: 50px;
border-radius: 50%;
background: #00FF00;
border: 12px solid black;
}
.centre {
display:inline-block;
margin:auto;
width: 25px;
height:25px;
border-radius: 50%;
background: black;
border: 2px solid black;
}