LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
}*}*}*}*}*}*
CSS
@import url(https://fonts.googleapis.com/css?family=Wellfleet);

* { box-sizing:border-box; }

html, body { position:relative; width:100%; height:100%; }

body {
  position:absolute;  
  display:-webkit-box;  
  display:-ms-flexbox;  
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  background-image: -webkit-radial-gradient(center bottom, ellipse farthest-corner, #A1C3FF 0%, #444861 100%);
  background-size:100%;
  text-align:center;
  overflow:hidden;
  -webkit-user-select:none;
     -moz-user-select:none;
      -ms-user-select:none;
          user-select:none;
}


.snowflake {
  position:relative;
  display:inline-block;
  color:snow;
  font-family:"Georgia", serif;
  line-height:0;
  width:8rem;
  height:8rem;
  -webkit-animation:spin 20s linear infinite, glow 2s linear infinite;
  animation:spin 20s linear infinite, glow 2s linear infinite;
}
@-webkit-keyframes spin {
  0%{ -webkit-transform:rotate(0); transform:rotate(0); }
  100%{ -webkit-transform:rotate(1turn); transform:rotate(1turn); }
}
@keyframes spin {
  0%{ -webkit-transform:rotate(0); transform:rotate(0); }
  100%{ -webkit-transform:rotate(1turn); transform:rotate(1turn); }
}
@-webkit-keyframes glow { 50%{ text-shadow:0 0 3rem rgba(255,255,255,.2); } }
@keyframes glow { 50%{ text-shadow:0 0 3rem rgba(255,255,255,.2); } }


.snowflake s {
  display:inline-block;
  position:absolute;
  left:0;
  bottom:0;
  -webkit-transform-origin:center top;
          transform-origin:center top;
  font-family:monospace;
  width:8rem;
  height:4rem;
  font-size:8rem;
  text-decoration:none;
  letter-spacing:-.5rem;
}

.snowflake s:nth-child(2){ -webkit-transform:rotate(.2turn); transform:rotate(.2turn); }
.snowflake s:nth-child(3){ -webkit-transform:rotate(.4turn); transform:rotate(.4turn); }
.snowflake s:nth-child(4){ -webkit-transform:rotate(.6turn); transform:rotate(.6turn); }
.snowflake s:nth-child(5){ -webkit-transform:rotate(.8turn); transform:rotate(.8turn); }


section { -webkit-box-flex:1; -ms-flex:1; flex:1; padding:3rem; }

header {
  background:rgba(0,0,0,.1);
  padding:1rem;
  font-family:"Wellfleet";
  color:rgba(255,255,255,.9);
}

label {
   line-height:2rem;
  font-size:1rem;  
}

input {
  display:inline-block;
  padding:.5rem;
  border-radius:.25rem;
  margin:0 .25rem;
  width:5rem;
  font-size:1.5rem;
  line-height:1rem;
  color:rgba(255,255,255,.9);
  border:0;
  background:rgba(0,0,0,.1);
  text-align:center;
  box-shadow:inset 0 .2rem 2.5rem rgba(0,0,0,.3), inset 0 .125rem .1rem rgba(0,0,0,.1), 0 .0625rem .1rem rgba(255,255,255,.15);
}

input:focus { outline:0; }
JS
$("input").keyup(function(){
  var flake = $(this).val();
  $("s").text(flake);
});
Host Instantly Drag and Drop Website Builder

 

Description

Make your own snowflake using text...
Term
Mon, 11/27/2017 - 21:57

Related Codes

Pen ID
Pen ID
Pen ID