Created
July 31, 2013 07:49
-
-
Save gunnarbittersmann/6120131 to your computer and use it in GitHub Desktop.
Single-line text, horizontally scrollable
This file contains hidden or 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
/** | |
* Single-line text, horizontally scrollable | |
*/ | |
output | |
{ | |
display: block; | |
font-size: 2em; | |
width: 20em; | |
overflow-y: hidden; | |
white-space: nowrap; | |
border: 2px inset silver; | |
padding: 0.25em; | |
} |
This file contains hidden or 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
<output> | |
This is a long text. | |
Nonetheless, it should be displayed in a single line. | |
The user should be able to scroll to its end. | |
</output> |
This file contains hidden or 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 hidden or 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