+ 1
How to make <hr> line a different color?
I need some help to figure out how to turn the <hr> line black. I’ve tried <hr style=“color:black;”> and that didn’t work. I’ve also tried using CSS code “hr{color: black;}” and that didn’t work either.
3 Respostas
+ 2
Use "border" attribute to style hr elements. I have no idea why. See here:
https://www.w3schools.com/howto/howto_css_style_hr.asp
+ 3
hr{
color: red;
}
+ 1
Thank you so much! Its kind of weird you cant use color: black; Thank you again!