CSS border bottom

CSS border bottom is used to set the bottom border of an HTML element.

This is a shorthand property with a single setting to specify the width, style and color of bottom border.



This is the paragraph to show to bottom border example.

CSS border bottom values list

Sr. No.valueDescription
1border-widthUsed to give width of border. The value for this is in px. Check CSS border width for more detail.
2border-styleUsed to give style for border. The value for this can be from none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset. Check CSS border style for more detail.
3border-colorUsed to give color for border. The value for this can be hex color, rbga() and color label. Check CSS border color for more detail.
4initialUsed to define as the property initial value.
5inheritUsed to define the computed value of property on the elements parent.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.