Created
March 21, 2012 12:32
-
-
Save remitbri/2146616 to your computer and use it in GitHub Desktop.
justify in xhtml
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
/** | |
* justify in xhtml | |
*/ | |
body{background: #f06; background: linear-gradient(45deg, #f06, yellow); min-height: 100%;} | |
p{width:85%; margin:50px auto; padding:.5em; text-align:justify; background:white; font-size:1%;} | |
p>*{font-size:10000;} | |
p:after{content:""; display:inline-block; width:100%; | |
font:0/0 a; margin-top:-100%; line-height:0; height:0; padding:0;} | |
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
<!-- content to be placed inside <body>…</body> --> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut | |
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris | |
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit | |
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt | |
in culpa qui officia deserunt mollit anim id est laborum.</p> | |
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":"split","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment