Skip to content

Instantly share code, notes, and snippets.

@Leikam
Forked from anonymous/dabblet.css
Created May 10, 2014 12:09
Show Gist options
  • Select an option

  • Save Leikam/6aaf5d25c69e3ebf150f to your computer and use it in GitHub Desktop.

Select an option

Save Leikam/6aaf5d25c69e3ebf150f to your computer and use it in GitHub Desktop.
reset.css
/* reset.css */
a {
color: black;
text-decoration: none;
font-size: 2em;
font-family: Zapfino;
}
/* main.css */
a {
position: relative;
text-shadow:
.1em 0 0 white,
-.1em 0 0 white;
}
/* why not just bb */
/* border-bottom: 1px solid red; */
a:hover:after {
content: attr(title);
position: absolute;
left: 0;
top: 1.2em;
z-index: -1;
line-height: .9;
color: white;
border-bottom: 2px solid red;
}
<a href="#" title='Enjoy glace hover on my link'>Enjoy glace hover on my link</a>
// alert('Hello world!');
{"view":"split","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