Skip to content

Instantly share code, notes, and snippets.

@tyv
Created July 2, 2012 16:16
Show Gist options
  • Save tyv/3034019 to your computer and use it in GitHub Desktop.
Save tyv/3034019 to your computer and use it in GitHub Desktop.
Untitled
h1
{
font: 16px/1.6em Helvetica, sans-serif;
}
a
{
background: #faf4d3;
}
.has-padding
{
padding: 0.3em 0;
}
<h1>
<a href="#">
hi! i am a link with line height<br>
and I have no any padding
</a>
</h1>
<h1>
<a class="has-padding" href="#">
hi! and i am a link with line height<br>
and I have padding to avoid unclicable space between lines<br>
and i looks same!
</a>
</h1>
{"view":"separate","fontsize":"110","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment