How To Change The Color Of hr Element Using CSS
Here we conside how to Change The Color and Width of hr Element Using CSS.
Lets start with one example here.
Suppose we have a hr element as shown below.
On runtime it may look like this.
Now for changing the color and width of hr element, follow these style.
border-style: solid none none;
border-width: 3px 0 0;
By applying above style, we can Change The Color and Width Of hr Element.
Just change border-color, border-style and border-width.