Be the first user to complete this post
|
Add to List |
css - circular profile pictures
Nowadays, circular profile pictures are very popular. It's really simple to create the circular profile picture from a given square image using border-radius
.
Following example, renders an original square image as well as the circular version of the image.
[codepen_embed height="266" theme_id="0" slug_hash="LNrOVQ" default_tab="html,result" user="kavitshah8"]See the Pen circular-profile-pic by Kavit Shah (@kavitshah8) on CodePen.[/codepen_embed]
Further Reading :
Also Read:
- css - vertically align text
- css - align text to an image vertically
- Error handling in promises interview question
- Split a string in javascript when both comma and spaces are present
- position:absolute