Skip to content

Instantly share code, notes, and snippets.

@stephenhuh
Created July 22, 2016 00:34
Show Gist options
  • Save stephenhuh/e7de96b5c444884ac4567dbdaaff71da to your computer and use it in GitHub Desktop.
Save stephenhuh/e7de96b5c444884ac4567dbdaaff71da to your computer and use it in GitHub Desktop.
Margins and Line-height
<p class="adjusted"> Here is some text </p>
<p class="adjusted"> Here is some text </p>
<p class="adjusted"> Here is some text </p>
<p class="adjusted"> Here is some text </p>
<p class="another"> Here is some other text </p>
* {
font-size: 14px;
font-family: Futura;
}
.adjusted {
line-height: 1.4;
}
.another {
line-height: 1.0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment