I'm attempting to place text beside the circular shape.
HTML
<div class="row">
<div class="col-sm-2">
<span><div class="circle"></div></span><p>available</p>
</div>
</div>
CSS
.circle {
width:10px;
height:10px;
border-radius:50px;
font-size:20px;
color:#fff;
line-height:100px;
background: green;
}
Currently, the circle is above the <p>
tag.
I want to include two circles: one that says available
and another one in red indicating not available
. If you have a better method to achieve this, please do share.
Thank you,