<h1>Flat long shadow Icons</h1>
<div class='elemento'>
<span class='entypo-basket'></span>
</div>
<div class='elemento dos'>
<span class='entypo-plus-squared'></span>
</div>
<div class='elemento tres'>
<span class='entypo-globe'></span>
</div>
<h2><a href='https://ksesocss.blogspot.com/2013/07/iconos-flat-y-long-shadows-sin-box.html'>El artículo</a></h2>
@import url(http://weloveiconfonts.com/api/?family=entypo);
@import url(https://fonts.googleapis.com/css?family=Roboto:100);
[class*="entypo-"]:before {
font-family: 'entypo', sans-serif;
}
html {
background: #2ECC71;
}
.elemento {
width: 12rem;
height: 12rem;
line-height: 15rem;
background: #ED7271;
border-radius: 50%;
text-align: center;
color: #fff;
position: relative;
display: inline-block;
margin: 3% 7rem 2rem 0;
box-shadow: 1px 1px rgba(0,0,0,.3);
}
.dos {background: #FD9500;}
.tres {
background: #3498DB;
margin-right: 0;
}
.elemento:after {
content:'';
background-image: linear-gradient(to right, rgba(0,0,0,.07) 60%, rgba(0,0,0,0));
width: 150%;
height: inherit;
position: absolute;
top: 0;
left: 5.9rem;
transform: rotate(45deg);
transform-origin: 0 50% 0;
z-index: -1;
}
span {
font-size: 5rem;
line-height: 12rem;
color: #eee;
position: relative;
z-index: 1;
}
span:after {
content:'';
background-image: linear-gradient(to right, rgba(0,0,0,.15) 30%, rgba(0,0,0,0));
width: 140%;
height: 90%;
position: absolute;
left: 1rem;
top: -0rem;
transform: rotate(44deg);
transform-origin: bottom left 0;
z-index: -1;
}
.dos span:after {
transform: rotate(44deg);
left: 0rem;
top: -6%;
height: 88%;
width: 160%;
}
.tres span:after {
transform-origin: left center;
height: 5rem;
top: -.9rem;
left: .65rem;
border-radius: 50% 0 0 50%;
background-image: linear-gradient(to right, rgba(0,0,0,.25) 30%, rgba(0,0,0,0));
}
h1 {
background: #34495e;
text-align: center;
font-size: 3rem;
font-family: roboto;
font-weight: 100;
color: #fff;
display: block;
text-decoration: none
}
h2 a {
color: #fff;
text-align: center;
font-size: 3rem;
font-family: roboto;
font-weight: 100;
display: block;
text-decoration: none;
}
h2 a:hover {
box-shadow: 0 0 1px 1px #fff;
}
// El artículo
//https://ksesocss.blogspot.com/2013/07/iconos-flat-y-long-shadows-sin-box.html
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.