Last active
March 1, 2020 06:03
-
-
Save ckdanny/069808c7c12ff72438ce7cb94bd38527 to your computer and use it in GitHub Desktop.
Text with no wrap
https://www.w3schools.com/cssref/pr_text_white-space.asp
https://www.w3schools.com/cssref/tryit.asp?filename=trycss_text_white-space
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
p { | |
white-space: nowrap; | |
} | |
</style> | |
</head> | |
<body> | |
<p> | |
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> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment