Files
Randell Dawson 1494a50123 fix(guide): restructure curriculum guide articles (#36501)
* fix: restructure certifications guide articles
* fix: added 3 dashes line before prob expl
* fix: added 3 dashes line before hints
* fix: added 3 dashes line before solutions
2019-07-24 13:29:27 +05:30

521 B

title
title
Make Circular Images with a border-radius

Make Circular Images with a border-radius


Problem Explanation

We need to give our cat photo a border-radius of 50%.


Solutions

Solution 1 (Click to Show/Hide)

In class smaller-image add a border-radius of 50%:

  .smaller-image {
    width: 100px;
    border-radius: 50%;
  }

This class already assigned to our img element and making it perfectly circular.