I have the following concentric circles structure created with HTML5 + CSS3 using css-grid. I want to change the order of stacking to be reversed.
By default, each elements are stacked from left to right, right element coming above left one.
I have tried different ways to reverse the order and nothing is working.
Any suggestions?
.group {
display: grid;
grid-template-columns: repeat(7, 18%);
width: 200px;
}
.circle {
width: 44px;
height: 44px;
border-radius: 50%;
border: 2px solid black;
background-color: aqua;
text-align: center;
}
<div class="group">
<div class="circle">1</div>
<div class="circle">2</div>
<div class="circle">3</div>
<div class="circle">4</div>
<div class="circle">5</div>
<div class="circle">6</div>
<div class="circle">7</div>
</div>