Last active
September 29, 2021 20:45
-
-
Save csssecrets/20205b5fcdd834461e80 to your computer and use it in GitHub Desktop.
Scrolling hints
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
/** | |
* Scrolling hints | |
*/ | |
ul { | |
display: inline-block; | |
overflow: auto; | |
width: 7.2em; | |
height: 7em; | |
border: 1px solid silver; | |
padding: .3em .5em; | |
list-style: none; | |
margin-top: 2em; | |
font: 100 200%/1.6 'Frutiger LT Std', sans-serif; | |
background: linear-gradient(white 15px, hsla(0,0%,100%,0)) 0 0 / 100% 50px, | |
radial-gradient(at top, rgba(0,0,0,.2), transparent 70%) 0 0 / 100% 15px, | |
linear-gradient(to top, white 15px, hsla(0,0%,100%,0)) bottom / 100% 50px, | |
radial-gradient(at bottom, rgba(0,0,0,.2), transparent 70%) bottom / 100% 15px; | |
background-repeat: no-repeat; | |
background-attachment: local, scroll, local, scroll; | |
margin-top: 30px; | |
} |
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
<!-- Geeky cat names! --> | |
<ul> | |
<li>Ada Catlace</li> | |
<li>Alan Purring</li> | |
<li>Schrödingcat</li> | |
<li>Tim Purrners-Lee</li> | |
<li>Webkitty</li> | |
<li>Json</li> | |
<li>Void</li> | |
<li>Neko</li> | |
<li>NaN</li> | |
<li>Cat5</li> | |
<li>Vector</li> | |
</ul> |
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
// alert('Hello world!'); |
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
{"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