I have a vision for my photography services website where prices are displayed in responsive circles, especially on mobile.
Here's how it appears on a desktop screen:
But unfortunately, on a mobile device, it ends up like this:
This is the code snippet I'm currently using for each circular element:
.pricessquarered {
display:flex;
margin: 0 auto;
align-items: center;
justify-content: center;
text-align: center;
border: solid 16px #d17461;
padding: 30px;
width: 10vw;
height: 10vw;
color: #d17461;
font-size: 22px;
padding-top: 30px;
border-radius: 100%;
}
<div class="pricessquarered">
<div>
<h3><span style="color:#d17461">1 image</span></h3>
<p>
45€
</p>
<hr>
<p><span style="font-size:14px; color:black">
USD $50
</span></p>
</div>
</div>
I'm seeking advice on how to make the circle encapsulate the text as elegantly as it does on the desktop version. Any suggestions?