Skip to content

Instantly share code, notes, and snippets.

@ianrobertdouglas
Created December 4, 2013 21:44
Show Gist options
  • Save ianrobertdouglas/7796143 to your computer and use it in GitHub Desktop.
Save ianrobertdouglas/7796143 to your computer and use it in GitHub Desktop.
Untitled
@import url(http://weloveiconfonts.com/api/?family=entypo);
[class*="entypo-"]:before {
font-family: 'entypo', sans-serif;
}
html {
margin:0;
padding:50px 0;
background: #161616 url(http://i43.tinypic.com/sfgmc3.gif);
}
#socialwrapper {
text-align:center;
position:relative;
left:0;
right:0;
margin: 30px auto;
width:300px;
}
input[type="checkbox"]{display:none;}
.checkboxs:checked + .labelz{
background:#;
color:#333;
}
.checkboxs:checked ~ .socials {
opacity:1;
transform:scale(1) translateY(30px);
}
.labelz {
background:#;
font-size:19px;
cursor:pointer;
margin:0;
padding:5px 10px;
border-radius:10%;
color:#fff;
}
.socials {
transform-origin:60% 0%;
transform:scale(0) translateY(-190px);
opacity:0;
transition:.5s;
}
.socials ul {
position:relative;
left:0;
right:0;
margin:-5px auto 0;
color:#fff;
height:6px;
width:300px;
background:#;
padding:0;
list-style:none;
}
.socials ul li {
font-size:12px;
cursor:pointer;
width:60px;
margin:0;
padding:12px 0;
text-align:center;
float:left;
display:block;
height:12px;}
.socials ul li:hover {opacity:0.7;}
.socials ul:after {
content:'';
display:block;
position:absolute;
left:0;
right:0;
margin:16px auto;
height:0;
width:0;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top: 20px solid #;
}
.socials li[class*="twitter"] {background:#;padding:-22px 0;}
.socials li[class*="gplus"] {background:#;padding:-22px 0;}
.socials li[class*="tumblr"] {background:#;padding:-22px 0;}
.socials li[class*="stumbleupon"] {background:#;padding:-22px 0;}
.socials li[class*="facebook"] {background:#;padding:-22px 0;}
<div id="socialwrapper">
<input type="checkbox" class="checkboxs" id="share" unchecked />
<label for="share" class="labelz entypo-export"></label>
<div class="socials">
<ul>
<li class="entypo-twitter"></li>
<li class="entypo-facebook"></li>
<li class="entypo-gplus"></li>
<li class="entypo-tumblr"></li>
<li class="entypo-stumbleupon"></li>
</ul>
</div>
</div>
// alert('Hello world!');
{"view":"split","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