Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4370
    Emily Robertson
    Participant

    How to create rounded corner of an image with HTML and CSS?

    #4376
    Andrew Geofrey
    Participant

    The CSS Image border-radius property is useful to create rounded images and rounded corners. Let’s see an example,

    The following will form the image 30% circular,

    To understand it further, follow the below example, with yellow border and border radius 20px,
    Image Border Radius

    Here’s the output showing rounded corner of an image,
    Image Border Radius Output

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.