Last active
September 7, 2016 08:50
-
-
Save LiuuY/04fbcc9179400ce7dc63e6876d61dd11 to your computer and use it in GitHub Desktop.
Zebra striped text lines http://dabblet.com/gist/cf30f5d442533b32600d
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
/** | |
* 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 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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment