Created
September 17, 2013 20:21
-
-
Save kaleb/6600038 to your computer and use it in GitHub Desktop.
Untitled
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
[type=radio] { | |
display:none; | |
} | |
span { | |
cursor: pointer; | |
text-align: center; | |
font-family: sans-serif; | |
font-size: 14px; | |
font-weight: bold; | |
color: #ccc; | |
line-height: 40px; | |
height: 40px; | |
width: 40px; | |
background-color: #eee; | |
border-radius: 100px; | |
margin-right: 10px; | |
display:inline-block; | |
} | |
[type=radio]:checked ~ span { | |
background: blue; | |
color: #fff; | |
} |
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
<label> | |
<input type="radio" name="toggle" value="1" /> | |
<span>1</span> | |
</label> | |
<label> | |
<input type="radio" name="toggle" value="2" /> | |
<span>2</span> | |
</label> | |
<label> | |
<input type="radio" name="toggle" value="3" /> | |
<span>3</span> | |
</label> |
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-vertical","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