Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set border-style for <hr> elements #51

Open
Richienb opened this issue May 3, 2021 · 3 comments
Open

Set border-style for <hr> elements #51

Richienb opened this issue May 3, 2021 · 3 comments

Comments

@Richienb
Copy link
Contributor

Richienb commented May 3, 2021

By default, a <hr> element is styled with border-style: inset; which makes it turn out like this:

A horizontal rule containing an inset border

By adding border-style: solid; we can make the line act like users would expect it to.

A horizontal rule containing a solid border

@sindresorhus
Copy link
Owner

sindresorhus commented Jul 12, 2021

Do different browsers render it differently? Or do you just want a better look for all browsers?

@Richienb
Copy link
Contributor Author

Or do you just want a better look for all browsers?

Might be good for #13

@sindresorhus
Copy link
Owner

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants