LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
CSS
/* @group Mixins */
* {
  border: 0;
  margin: 0;
  padding: 0;
  outline: 0;
}
html {
  background-color: #282e3a;
}
body {
  width: 400px;
  margin: 0 auto;
}
figure {
  margin: 30px auto;
  width: 128px;
  height: 111px;
  background-color: #ffffff;
  border-radius: 10px;
  position: relative;
}
figure:before {
  content: '';
  display: block;
  width: 128px;
  height: 69px;
  border-radius: 10px 10px 0 0;
  background-image: -webkit-linear-gradient(white 0%, #edeeef 100%);
  background-image: -moz-linear-gradient(white 0%, #edeeef 100%);
  background-image: -o-linear-gradient(white 0%, #edeeef 100%);
  background-image: linear-gradient(white 0%, #edeeef 100%);
}
figure header {
  width: 128px;
  height: 27px;
  position: absolute;
  top: -1px;
  background-color: #fa565a;
  border-radius: 10px 10px 0 0;
  border-bottom: 3px solid #e5e5e5;
  font: 400 15px/27px Arial, Helvetica, Geneva, sans-serif;
  letter-spacing: 0.5px;
  color: #fff;
  text-align: center;
}
figure section {
  width: 128px;
  height: 80px;
  position: absolute;
  top: 28px;
  font: 400 55px/75px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  letter-spacing: -2px;
  color: #4c566b;
  text-align: center;
  z-index: 10;
}
figure section:before {
  content: '';
  display: block;
  position: absolute;
  top: 35px;
  width: 3px;
  height: 10px;
  background-image: -webkit-linear-gradient(#b5bdc5 0%, #e5e5e5 100%);
  background-image: -moz-linear-gradient(#b5bdc5 0%, #e5e5e5 100%);
  background-image: -o-linear-gradient(#b5bdc5 0%, #e5e5e5 100%);
  background-image: linear-gradient(#b5bdc5 0%, #e5e5e5 100%);
}
figure section:after {
  content: '';
  display: block;
  position: absolute;
  top: 35px;
  right: 0;
  width: 3px;
  height: 10px;
  background-image: -webkit-linear-gradient(#b5bdc5 0%, #e5e5e5 100%);
  background-image: -moz-linear-gradient(#b5bdc5 0%, #e5e5e5 100%);
  background-image: -o-linear-gradient(#b5bdc5 0%, #e5e5e5 100%);
  background-image: linear-gradient(#b5bdc5 0%, #e5e5e5 100%);
}
/* @end */
JS
/**
*** Pure CSS3 Calendar Icon with Dynamic Date
*** Author: Kamil Czujowski
*** Made with ♥ 
*** https://github.com/kamilczujowski
*** Twitter: @kamilczujowski
*** Inspiration: http://dribbble.com/shots/1029199-Flat-icons-PSD-3-Dribbble-invites?list=users
**/
Host Instantly Drag and Drop Website Builder

 

Description

This Pen is a simple CSS3 Calendar Icon with a Dynamic Date.
Term
Mon, 11/27/2017 - 21:44

Related Codes

Pen ID
Pen ID
Pen ID