-
-
Save 304352303/b25a2dcefad0df1cea69653fbc88a407 to your computer and use it in GitHub Desktop.
Zebra striped text lines
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
/** | |
* Zebra striped text lines | |
*/ | |
pre { | |
padding: .5em; | |
line-height: 1.5; | |
background: hsl(20, 50%, 95%); | |
background-image: linear-gradient( | |
rgba(120,0,0,.1) 50%, transparent 0); | |
background-size: auto 3em; | |
background-origin: content-box; | |
font-family: Consolas, Monaco, monospace; | |
} | |
code { font: inherit } |
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
<pre><code>while (true) { | |
var d = new Date(); | |
if (d.getDate()==1 && | |
d.getMonth()==3) { | |
alert("TROLOLOL"); | |
} | |
}</code></pre> |
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":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment