Currently, I am using the Bones WP theme as a starting point. Within a 3 column layout, I have three circles placed (one in each column). The structure of each circle is as follows:
HTML
<a href="#" class="services">Text</a>
CSS
a.services {
margin:40px 0;
box-sizing:border-box;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
width:320px;
height:320px;
border:20px solid #e5f2f7;
border-radius:100%;
text-align:center;
display:inline-block;
}
Since I have specified the dimensions of the circle as 320px X 320px, it does not translate well on mobile devices. I am looking to use percentages instead.
Given that the column containing my HTML is responsive, I would like to set the width to 100%. However, the challenge lies in maintaining equal height and width proportions as the circle scales. At certain breakpoints, it distorts into an elongated oval shape.