Bootstrap Question:

Download Job Interview Questions and Answers PDF

How to give a style to images in Bootstrap?

Bootstrap Interview Question
Bootstrap Interview Question

Answer:

By using the Bootstrap classes we can easily style images like making images round, cornered, or circular, or we can give a thumbnail effect on images. We have the following classes for image shapes.

☛ Rounded Corners - The .img-rounded class used for adding rounded corners to an image.
☛ Circle - The .img-circle class used for shaping the image to a circle.
☛ Thumbnail - The .img-thumbnail class used for shaping the image to a thumbnail.

Download Bootstrap Interview Questions And Answers PDF

Previous QuestionNext Question
What to display code in bootstrap?Explain me what are bootstrap badges?