There are many UI CSS classes that you can use to make your website responsive and mobile-first using the Bootstrap framework. If you want an image to be displayed with rounded corners you can make use of class img-rounded on the image element. If you want the image to be of circle shape then make use of the class img-circle.
Example :
<div style="margin:40px">
<img width="140px" height="140px" class="img-circle" src="mona-lisa.jpg"/>
</div>
<div style="margin:40px">
<img width="140px" height="140px" class="mona-lisa.jpg"/>
</div>
Output:
More Posts related to Bootstrap,
- [Solved] Bootstrap tooltip not working
- Create Bootstrap carousel slider with Text
- Bootstrap tooltip not working
- How to disable button in Bootstrap
- Vertical align two div's in Bootstrap [HTML CSS]
- Bootstrap Button Colors Classes
- How to Change Bootstrap Carousel Slide Speed
- Right Align Text in Bootstrap framework
- How to add hint text in bootstrap input text field and text area
- Simple Login Page using Bootstrap
- Make Bootstrap Button look like a link
- Align left align text in Bootstrap
- Bootstrap Nav Menu Dropdown on hover
- Rounded Images in Bootstrap framework
- What is Bootstrap Jumbotron and how to use it
More Posts:
- Check if a Java Date String is Valid or Not (Java 8) - Java
- AlertDialog with single button example : Android - Android
- How to use SCP Command to Copy Directory - Linux
- Twitch chat down, error loading data, content unavailable, streaming problem - News
- Fix: type argument is not within bounds of type-variable T - Java
- How to add Newline to text in Android TextView - Android
- Fix - A JavaScript error occurred in the main process - Microsoft Teams - Teams
- How to lock cells in Microsoft Excel for Mac - Windows