Jelmar Jelmar - 4 months ago 48
CSS Question

Styling the <hr /> element

I am trying to make my

<hr />
(hr) element pinkish, and am using the following css rule for this:

hr {height: 1px; color: #ed1d61;background-color: #ed1d61;

But there is still a black line showing through it.

(here is a look at it on the site that I am making: , its the only horizontal line in the design.

How do i get the line uniform pink?


Change it to this:

hr {
    height: 1px;
    color: #ed1d61;
    background: #ed1d61;
    font-size: 0;
    border: 0;