Last active
August 29, 2015 14:10
-
-
Save brito/3f857378e331fb24f678 to your computer and use it in GitHub Desktop.
lone ranger
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
/* lone ranger */ | |
[type=range], datalist { font-size:16px; width:35em } | |
* { outline: 1px solid #999 } | |
[type=range], | |
[type=range]::-webkit-slider-thumb, | |
[type=range]::-webkit-media-slider-thumb { | |
appearance:none } | |
[type=range]{ background:#333; | |
height:1px; display:block; | |
margin:4em 0 } | |
[type=range]::-webkit-slider-thumb { | |
background:red; width:4em; height:2em; | |
border-radius:.38em } | |
datalist { display:flex; background:#eee } | |
option { flex:auto } |
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
<label> This input styling is: | |
<input type=range min=0 max=3 value=2 list=score> | |
<datalist id=score> | |
<option value=0>lame</option> | |
<option value=5>not half bad</option> | |
<option value=10>visionary</option> | |
</datalist> | |
</label> |
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":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment