I have a web page. In this page, I have several font icons that I'm using. I would like to put a gray circle behind these icons. Effectively, I want to create a gray circle behind some content. At this time, I'm trying, I have the following:
.circled {
background-color: gray;
border-radius: 50%;
display: inline-block;
padding: 1.0rem;
}
<div class="circled">
<i class="my-icon"></i>
</div>
While the content is "circled", the circle tends to be more of an oval. I would like to always render a perfect circle. Is there a way to do this with CSS? If so, how?