Created
May 31, 2012 22:50
-
-
Save jordangray/2846982 to your computer and use it in GitHub Desktop.
Figure out relationship here! parent lh vs span lh
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
body { | |
line-height: 1.5em; | |
} | |
/* Figure out relationship here! parent lh vs span lh */ | |
span.justify { | |
text-align: justify; | |
display: inline-block; | |
text-align-last: justify; | |
width: 100px; | |
height: 1.1em; | |
} | |
span.justify:after { | |
content: ""; | |
display: inline-block; | |
width: 100%; | |
} | |
span.space { | |
background: #c00; | |
width: 40px; | |
height: 20px; | |
display: inline-block; | |
margin-top: -10px; | |
} |
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>text text text text text text text text text text text <span class="justify">Lo ipm</span><span class="space"> </span><span>d sit ameta sdfasd fasfd consequetuar.</span> |
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