Created
May 6, 2023 04:04
-
-
Save LeaVerou/8191fd478821fc2bc016fbf410b8df44 to your computer and use it in GitHub Desktop.
text-wrap: balance bug
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
/** | |
* text-wrap: balance bug | |
*/ | |
body { width: 750px } | |
div { | |
width: 200px; height: 200px; | |
background: red; | |
float: right; | |
} | |
p { | |
text-wrap: balance; | |
} |
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
<div></div> | |
<p>Syntax highlighting JS library that differentiated itself through usability, aesthetics, and extensibility.</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
// 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":"split","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