Javatpoint Logo
Javatpoint Logo

Borders

Border utility is used to quickly change the border-style and border-radius of an element. It is mainly used for images, buttons, or any other element.

You can use the border classes to an element to remove all borders or some borders.

Syntax:

For no border:

To remove top-border:

To remove right-border:

To remove bottom-border:

To remove left-border:


Border Radius

You can make the radius of the border in different shapes. Use the following classes to an element to easily round its corner.

Syntax:

To Round complete border:

To round top-border:

To round right-border:

To round bottom-border:

To round left-border:

To round in circle:

No round:


Next TopicBootstrap Clearfix




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA