Jump to content
Stef's Super Nerd Community
Sign in to follow this  
administrator

Rounding Images With Css3

Recommended Posts

In the old days, we had to go to Photoshop (or some other image editor) to create rounded PNG or GIF files, to create images that were round.

Now you can do this with simple CSS3 applied to your image:

style="border-radius: 50%;"

So the CSS applied would look something like:

<img style="border-radius: 50%" src="stefan_mischook-150x150.png"/>

Stef

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...