Skip to content

Instantly share code, notes, and snippets.

@kaustavdm
Last active October 3, 2019 18:44
Show Gist options
  • Save kaustavdm/6f59161c4f94fed4c6265f879aa54460 to your computer and use it in GitHub Desktop.
Save kaustavdm/6f59161c4f94fed4c6265f879aa54460 to your computer and use it in GitHub Desktop.
Make your <hr> look like Medium's
hr:after {
display: block;
text-align: center;
content: "...";
color: #333333;
font-size: 2rem;
height: 2rem;
line-height: 2rem;
clear: both;
border: none;
}
hr {
border: none;
margin: 2rem;
background: transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment