A Pen by Nico Castro on CodePen.
Created
September 6, 2014 14:00
-
-
Save nicollecastrog/787a3de538d20056490d to your computer and use it in GitHub Desktop.
A Pen by Nico Castro.
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> | |
<p> | |
The text in this paragraph DOES wrap: this is the DEFAULT behaviour. This is some text. This is some text. This is some text. | |
This is some text. This is some text. This is some text. | |
This is some text. This is some text. This is some text. | |
This is some text. This is some text. This is some text. | |
</p> | |
<p class="no-wrap"> | |
The text in this paragraph does NOT wrap: this is NOT the default behaviour. This is some text. This is some text. This is some text. | |
This is some text. This is some text. This is some text. | |
This is some text. This is some text. This is some text. | |
This is some text. This is some text. This is some text. | |
</p> | |
</body> |
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
.no-wrap { | |
white-space: nowrap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment