.wrapper
.box
.box_inner_shadow
.box_inner
.box_inner_tri_shadow
.box_inner_tri
.location
.mountain1
.mountain2
.tri1
.tri2
.time 16:38
.date Sun 25.05.2014
.cloud
.temp -6°C
.cond Snow
.loc Beijing
.credit
%p Inspire By <a href="https://dribbble.com/shots/1461528-winter?list=searches&tag=weather&offset=360">Winter</a> by <a href="https://dribbble.com/Chester.Fu">Chester.Fu</a>
View Compiled
@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700,100italic,300italic,400italic,700italic);
body{
margin: 0;
padding: 0;
background: rgba(56, 45, 73, 1);
}
.wrapper{
position: absolute;
top: calc(50% - 120px);
left: calc(50% - 200px);
width: 400px;
height: 240px;
}
.box{
background: rgba(76, 127, 230, 1);
width: 400px;
height: 130px;
}
.box:after{
content: '';
position: absolute;
top: 130px;
border-left: 400px solid transparent;
border-right: 0px solid transparent;
border-bottom: 40px solid rgba(76, 127, 230, 1);
transform: rotate(180deg);
}
.arrow-up {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid black;
}
.box_inner{
position: absolute;
top: 74px;
left: -52px;
border-left: 140px solid transparent;
border-right: 3px solid transparent;
border-bottom: 40px solid rgba(57, 164, 255, 1);
transform: rotate(-90deg);
}
.box_inner_shadow{
position: absolute;
top: 78px;
left: -58px;
border-left: 140px solid transparent;
border-right: 3px solid transparent;
border-bottom: 40px solid rgba(58, 92, 186, 1);
transform: rotateZ(65deg) rotateX(180deg);
}
.box_inner:before{
content: '';
position: absolute;
top: 39px;
left: -140px;
border-left: 114px solid transparent;
border-right: 30px solid transparent;
border-bottom: 300px solid rgba(57, 164, 255, 1);
transform: rotate(180deg);
}
.box_inner:after{
content: '';
position: absolute;
top: 36px;
left: -111px;
border-left: 114px solid transparent;
border-right: 20px solid transparent;
border-bottom: 300px solid rgba(57, 164, 255, 1);
transform: rotate(0deg);
}
.box_inner_tri{
position: absolute;
top: 25px;
left: 263px;
border-left: 121px solid transparent;
border-right: 34px solid transparent;
border-bottom: 60px solid rgba(57, 164, 255, 1);
transform: rotate(-64deg);
}
.box_inner_tri_shadow{
position: absolute;
top: 28px;
left: 275px;
border-left: 114px solid transparent;
border-right: 34px solid transparent;
border-bottom: 55px solid rgba(58, 92, 186, 1);
transform: rotate(-68deg);
}
.location{
position: absolute;
top: 150px;
left: 39px;
border-left: 266px solid transparent;
border-right: 34px solid transparent;
border-bottom: 60px solid rgba(183, 215, 255, 1);
transform: rotateX(180deg) rotateZ(5.7deg);
}
.mountain1{
position: absolute;
top: 83px;
left: 138px;
border-left: 100px solid transparent;
border-right: 160px solid transparent;
border-bottom: 60px solid rgba(210, 234, 255, 1);
transform: rotateX(0deg) rotateZ(-5.7deg);
}
.mountain2{
position: absolute;
top: 92px;
left: 36px;
border-left: 100px solid transparent;
border-right: 190px solid transparent;
border-bottom: 60px solid rgba(255, 255, 255, 1);
transform: rotateX(0deg) rotateZ(-5.7deg);
}
.tri1{
position: absolute;
top: 24px;
left: 2px;
border-left: 40px solid transparent;
border-right: 9px solid transparent;
border-bottom: 48px solid rgba(241, 249, 255, 0.8);
transform: rotateX(0deg) rotateZ(175deg);
}
.tri2{
position: absolute;
top: 11px;
left: 47px;
border-left: 40px solid transparent;
border-right: 270px solid transparent;
border-bottom: 18px solid rgba(255, 255, 255, 0.8);
transform: rotateX(180deg) rotateZ(4deg);
}
.time{
position: absolute;
top: 12px;
left: 240px;
font-family: 'Lato', sans-serif;
font-weight: 300;
color: #fff;
font-size: 45px;
text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}
.date{
position: absolute;
top: 65px;
left: 230px;
font-family: 'Lato', sans-serif;
font-weight: 300;
color: #fff;
font-size: 18px;
text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}
.cloud{
position: absolute;
top: 53px;
left: 23px;
background: rgba(233, 233, 233, 1);
width: 25px;
height: 25px;
transform: rotate(45deg);
}
.cloud:after{
content: '';
position: absolute;
top: 3px;
left: 15px;
background: rgba(242, 242, 242, 1);
width: 15px;
height: 7px;
}
.cloud:before{
content: '';
position: absolute;
top: -30px;
left: 13px;
background: rgba(255, 255, 255, 1);
width: 35px;
height: 35px;
}
.temp{
position: absolute;
top: 35px;
left: 100px;
font-family: 'Lato', sans-serif;
font-weight: 300;
color: #fff;
font-size: 18px;
text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}
.cond{
position: absolute;
top: 60px;
left: 105px;
font-family: 'Lato', sans-serif;
font-weight: 300;
color: #fff;
font-size: 18px;
text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}
.loc{
position: absolute;
top: 160px;
left: 245px;
font-family: 'Lato', sans-serif;
font-weight: 300;
color: rgba(3, 124, 228, 1);
font-size: 18px;
}
.credit{
position: absolute;
bottom: 0px;
left: -20px;
width: 300px;
height: 40px;
background: rgba(76, 127, 230, 1);
transform: skew(-25deg);
padding-left: 20px;
}
.credit p{
margin: 0;
padding-top: 10px;
padding-left: 10px;
transform: skew(25deg);
font-family: 'Lato', sans-serif;
font-weight: 300;
}
.credit p a{
text-decoration: none;
color: #fff;
}
This Pen doesn't use any external CSS resources.