Skip to content

Instantly share code, notes, and snippets.

Created November 5, 2013 13:13
Show Gist options
  • Save anonymous/7318806 to your computer and use it in GitHub Desktop.
Save anonymous/7318806 to your computer and use it in GitHub Desktop.
heading underlined
/**
* heading underlined
*/
h1
{
font-size: 1.25em; /* use relative unit */
position: relative;
text-align: center;
}
h1::after
{
content: "";
position: absolute;
z-index: -1;
left: 0;
right: 0;
bottom: 0.50em;
border-bottom: 1px dotted #C0C0C0;
}
<h1>Heading</h1>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment