Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

css
border
html
communitycreator

What is the border-bottom-color property in CSS?

Behzad Ahmad

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

The border-bottom-color property in CSSCascading Style Sheets is used to define the color of the bottom border.

If we want to use the border-bottom-color property we must first declare the border-style or the border-bottom-style because the color is only changed if we have a border.

Syntax

border-bottom-color: color|initial|inherit;

Property value

  • color: This is used to set the color of the bottom border.
  • initial: This is used to set the value to its default value.
  • inherit: This is used to inherit property from its parent value.

Code

The following is the basic HTMLHyperText Markup Language & CSS code to demonstrate the use of the border-bottom-color property.

RELATED TAGS

css
border
html
communitycreator

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring