I want to change the thickness of my horizontal rule ()in CSS. I know it can be done in HTML like so -
Here's a solution for a 1 pixel black line with no border or margin
hr {background-color:black; border:none; height:1px; margin:0px;}
I thought I would add this because the other answers didn't include: margin:0px;.
hr {background-color:black; border:none; height:1px; margin:0px;}
↑ container ↑
↓ hr ↓
↑ hr ↑
↓ container ↓