Last active
September 12, 2016 08:31
-
-
Save voidove/8b0b3a784499ac2cad70c91e076be6b5 to your computer and use it in GitHub Desktop.
line-height value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* line-height value | |
*/ | |
p, div { | |
border: 1px solid; | |
margin: 10px; | |
} | |
h3 { | |
font-size: 20px; | |
} | |
.test1 {line-height: normal;} | |
.test2 {line-height: 1.5; width: 200px; font-size: 15px;} | |
.test3 {line-height: 150%; width: 200px; font-size: 15px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p class="test1">On block level elements, the line-height property specifies the minimum height of line boxes within the element.</p> | |
<div class="test2"> | |
<h3>On block level elements, the line-height property specifies the minimum height of line boxes within the element.</h3> | |
</div> | |
<div class="test3"> | |
<h3>On block level elements, the line-height property specifies the minimum height of line boxes within the element.</h3> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"separate","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