Skip to content

Instantly share code, notes, and snippets.

@lamjay2704
Forked from Sidbartek/dabblet.css
Created June 25, 2022 13:27
Show Gist options
  • Save lamjay2704/a35a23546f742558f673edf9181f82d2 to your computer and use it in GitHub Desktop.
Save lamjay2704/a35a23546f742558f673edf9181f82d2 to your computer and use it in GitHub Desktop.
/*
@import url(http://fonts.googleapis.com/css?family=Raleway+Dots);
@import url(http://fonts.googleapis.com/css?family=Advent+Pro:400,200,700);
@import url(http://weloveiconfonts.com/api/?family=entypo);
*/
/* entypo */
.entypo:before {
font-family: 'entypo', sans-serif;
}
$green: #74d4b3;
$red: #ef8974;
$black: #2C2E31;
$gray: #5F6164;
$light_gray: #ccc;
$white: #fff;
html,body {
margin: 0;
background-color: $red;
}
section {
.services {
text-align: center;
transform: translatez(0);
.title {
margin: 80px 0 40px;
color: $black;
font-size: 2.4em;
font-family: 'Raleway Dots', sans-serif;
text-transform: uppercase;
text-align: center;
}
li {
width: 120px;
height: 140px;
display: inline-block;
margin: 20px;
list-style: none;
div {
width: 120px;
height: 120px;
color: $green;
font-size: 3.4em;
text-align: center;
line-height: 120px;
background-color: $black;
transition: all 0.5s ease;
&;:hover {
transform: rotate(360deg);
border-radius: 100px;
}
}
.caption {
width: 120px;
height: 20px;
display: block;
padding: 15px 0;
color: $black;
font-family: 'Advent Pro', sans-serif;
text-transform: uppercase;
font-size: 1.2em;
text-align: center;
}
}
}
}
<section class='Sid'>
<div class='services'>
<h2 class="title">Sid</h2>
<ul>
<li>
<div class='entypo-facebook entypo'></div>
<span class='caption'>Facebook</span>
</li>
<li>
<div class='entypo-twitter entypo'></div>
<span class='caption'>Twitter</span>
</li>
<li>
<div class='entypo-gplus entypo'></div>
<span class='caption'>Google Plus</span>
</li>
<li>
<div class='entypo-linkedin entypo'></div>
<span class='caption'>LinkedIn</span>
</li>
</ul>
</div>
</section>
<link itemprop rel="stylesheet" href="http://fonts.googleapis.com/css?family=Raleway+Dots" />
<link itemprop rel="stylesheet" href="http://fonts.googleapis.com/css?family=Advent+Pro:400,200,700" />
<link itemprop rel="stylesheet" href="http://weloveiconfonts.com/api/?family=entypo" />
// alert('Hello world!');
{"view":"separate","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment