I am trying to make circular borders for profile pictures however I can't get the CSS to work. My CSS and HTML code is shown below
.author-image {
width: 50px;
height: 50px;
border-radius: 50%;
}
<div class="author-info">
<img src="https://placeholdit.imgix.net/~text?txtsize=33&txt=Avatar&w=150&h=150" class="author-image">
</div>
when I try this on jsfiddle I only get a square area instead of a circle. What I'm I missing here?