Image
Images can be made reponsive very easily. Responsive images are images that never becomes wider than their parent container.
Responsive Image
Images can be made responsive by adding
.img-responsive
to the img
element.

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img
class="img-responsive"
src="../assets/responsive-img.jpg"
alt="reponsive image"
/>
Round Image
Round or circular images are used in lot of place, such as
profile picture. You can make image round or circular using
.img-round
class which apply
border-radius: 50%
to the image element.

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img
class="img-responsive img-round"
src="../assets/round.jpeg"
alt="a girl"
/>