dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Feb 7, 2020

Show an Image Inside a Circle in HTML

Just add a border-radius over the image element. See below for an example.

 <img class="round" src="…." />
. round {
width: 100px;
border-radius: 100%;
} 
Srinath MS
 
Thanks for your registration, follow us on our social networks to keep up-to-date