Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!--   <div id="circle"></div> -->
<section class="merry-christmas color2">

  <div class="sky"></div>
   <div class="wrap">
        <div class="icon animated tada snowglobe">
          <svg id="6d332ab2-0040-4d7e-9313-8770ab5b123c" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="52.7403" height="64.1103" viewBox="0 0 52.7403 64.1103"><defs><style>.\36 404a475-c8f7-4c78-9d06-2eaf734e4122{fill:#640f13;}.\31 3e0f6cd-5f0a-4e35-9729-d7648d5e3d8e{fill:#db4342;}.\30 db428bd-b0df-4cbc-826f-284e8ecb7a87{fill:#baddee;}.\30 db90da6-d0e1-40fb-b339-510664d6bcf4{fill:#9dd3ed;}.\31 6027922-81c9-473c-ad89-ec12bea07573{fill:#98cf97;}.\35 fbe4f9f-becb-4c5d-bad5-16c298d98fe8{fill:#83b585;}.\37 1e0dc2d-63fc-4b06-bcde-457a7fb368f6{fill:#ffdf00;}.c2f9c269-a3d2-4695-92a2-993268bd4f2e{fill:#d0af8b;}.\35 31961ef-9f93-4250-b5b4-76bdf515de52{fill:#d17663;}.\36 d96867f-3bdc-4ee5-a573-28527b20cf19{fill:#f1f1f2;}.\33 30a4fa2-30f3-4490-ad82-9dd2670be8e3{fill:#839cc1;}.\31 10546e4-bf06-48de-afb3-fa6e2b8f9e50{fill:#e0d682;}.fad278f9-7474-4d68-9df6-640fb76b49af{fill:#bc3839;}.\33 de3d26e-9533-4823-bf82-23b027c79af5{fill:#e86363;}</style></defs><title>snow-globe</title><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M26.37,2.5187a23.8413,23.8413,0,0,1,18.537,38.8468,3.8169,3.8169,0,0,1,1.52.958c1.3032,1.2351,3.0671,5.0739,3.0671,10.3005,0,7.4886-7.636,8.9676-22.98,8.9676S3.2456,59.0829,3.2456,52.3928C3.2456,43.194,6.48,41.474,6.48,41.474a2.0727,2.0727,0,0,1,.8912-.7265A23.82,23.82,0,0,1,26.37,2.5187M7.7422,40.6543l-.0124.0016-.0018,0,.0018,0,.0124-.0016m36.7242.6128-.0245-.0035.0245.0035M26.37,0A26.4,26.4,0,0,0,0,26.37,26.0556,26.0556,0,0,0,4.0064,40.3048C2.6223,41.8159.7269,45.1991.7269,52.3928.7269,62.7785,14.5084,64.11,26.5147,64.11c13.9508,0,25.4986-.8643,25.4986-11.4863,0-5.5294-1.8-9.9064-3.5706-11.84A26.3585,26.3585,0,0,0,26.37,0Z"/><path class="13e0f6cd-5f0a-4e35-9729-d7648d5e3d8e" d="M6.48,41.474c1.9342-2.5106,3.5264,1.3881,19.651,1.3881s17.3829-3.3,20.2967-.5386c1.3033,1.2351,3.0672,5.0739,3.0672,10.3005,0,7.4886-7.636,8.9676-22.98,8.9676S3.2455,59.0829,3.2455,52.3928C3.2455,43.194,6.48,41.474,6.48,41.474Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M26.5147,62.2215c-16.5282,0-23.8991-3.0315-23.8991-9.8287,0-8.5313,2.7788-10.9417,3.4355-11.3919,1.1234-1.3866,2.27-1.0951,4.5079-.5306a57.01,57.01,0,0,0,15.572,1.7623,74.917,74.917,0,0,0,14.7228-1.247c2.9319-.5239,4.2712-.7644,6.0065.8811,1.3122,1.2422,3.2639,5.1327,3.2639,10.7573C50.1242,60.6923,41.8266,62.2215,26.5147,62.2215ZM6.7847,42.0248c-.064.0387-2.91,1.84-2.91,10.368,0,5.9265,6.9823,8.5694,22.64,8.5694,16.9193,0,22.35-2.0261,22.35-8.3382,0-5.19-1.76-8.792-2.87-9.8435-1.2753-1.2065-2.0483-1.0687-4.9187-.5553A77.0263,77.0263,0,0,1,26.131,43.492a58.1716,58.1716,0,0,1-15.8807-1.8c-2.2973-.5817-2.67-.6131-3.2719.1666A.63.63,0,0,1,6.7847,42.0248Z"/><path class="0db428bd-b0df-4cbc-826f-284e8ecb7a87" d="M26.1308,42.8621c13.2015,0,16.4375-2.21,18.7763-1.4966a23.863,23.863,0,1,0-37.5362-.618C9.2111,40.0405,12.4068,42.8621,26.1308,42.8621Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M26.131,43.492a58.2425,58.2425,0,0,1-15.8782-1.798,5.5581,5.5581,0,0,0-2.6564-.3585.6289.6289,0,0,1-.7275-.2073A24.2539,24.2539,0,0,1,1.8888,26.37a24.4811,24.4811,0,1,1,43.508,15.3912.6263.6263,0,0,1-.6733.206c-.8135-.2484-1.8816-.0578-3.65.2589A77.0493,77.0493,0,0,1,26.131,43.492ZM8.0434,40.0042a11.2745,11.2745,0,0,1,2.5175.4685,57.0854,57.0854,0,0,0,15.57,1.76,74.9412,74.9412,0,0,0,14.721-1.2458,11.5184,11.5184,0,0,1,3.8118-.3265A23.2185,23.2185,0,1,0,3.1481,26.37,22.9863,22.9863,0,0,0,7.6246,40.0343,2.7251,2.7251,0,0,1,8.0434,40.0042Z"/><path class="0db90da6-d0e1-40fb-b339-510664d6bcf4" d="M26.1738,43.2435c10.83,0,13.4851-1.8095,15.4038-1.2254A19.5476,19.5476,0,1,0,6.8027,29.7411a19.39,19.39,0,0,0,3.9808,11.771C12.2931,40.9333,14.9148,43.2435,26.1738,43.2435Z"/><path class="16027922-81c9-473c-ad89-ec12bea07573" d="M41.7792,36.7381,36.3768,29.786h2.767L30.8121,19.0643h4.442L26.37,7.6319,17.486,19.0643h4.442L13.5963,29.786h2.7671L10.961,36.7381h0a64.71,64.71,0,0,0,30.8181,0Z"/><path class="5fbe4f9f-becb-4c5d-bad5-16c298d98fe8" d="M21.928,19.0643l-8.315,10.7,4.3794.4133A84.4637,84.4637,0,0,0,34.6467,30.1l4.3872-.4554-8.2218-10.58-1.1808.1a38.5832,38.5832,0,0,1-6.5225,0Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M26.131,43.492a58.2425,58.2425,0,0,1-15.8782-1.798,5.5581,5.5581,0,0,0-2.6564-.3585.6289.6289,0,0,1-.7275-.2073A24.2539,24.2539,0,0,1,1.8888,26.37a24.4811,24.4811,0,1,1,43.508,15.3912.6263.6263,0,0,1-.6733.206c-.8135-.2484-1.8816-.0578-3.65.2589A77.0493,77.0493,0,0,1,26.131,43.492ZM8.0434,40.0042a11.2745,11.2745,0,0,1,2.5175.4685,57.0854,57.0854,0,0,0,15.57,1.76,74.9412,74.9412,0,0,0,14.721-1.2458,11.5184,11.5184,0,0,1,3.8118-.3265A23.2185,23.2185,0,1,0,3.1481,26.37,22.9863,22.9863,0,0,0,7.6246,40.0343,2.7251,2.7251,0,0,1,8.0434,40.0042Z"/><rect class="71e0dc2d-63fc-4b06-bcde-457a7fb368f6" x="15.9806" y="47.0678" width="20.779" height="6.9264"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M36.76,54.6237H15.9807a.6293.6293,0,0,1-.63-.63V47.0677a.6293.6293,0,0,1,.63-.63H36.76a.6292.6292,0,0,1,.63.63V53.994A.6292.6292,0,0,1,36.76,54.6237ZM16.61,53.3644H36.13V47.6973H16.61Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M19.7329,52.1757a.6293.6293,0,0,1-.63-.63V49.852a.63.63,0,1,1,1.2593,0v1.6941A.6292.6292,0,0,1,19.7329,52.1757Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M22.5184,52.1757a.6293.6293,0,0,1-.63-.63V50.52a.63.63,0,1,1,1.2594,0v1.0263A.6293.6293,0,0,1,22.5184,52.1757Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M25.3034,52.1757a.6293.6293,0,0,1-.63-.63V50.41a.63.63,0,0,1,1.2593,0v1.1358A.6292.6292,0,0,1,25.3034,52.1757Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M28.0883,52.1757a.6293.6293,0,0,1-.63-.63v-.5682a.63.63,0,1,1,1.2594,0v.5682A.6293.6293,0,0,1,28.0883,52.1757Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M30.8738,52.1757a.6293.6293,0,0,1-.63-.63v-.9624a.63.63,0,0,1,1.2593,0v.9624A.6293.6293,0,0,1,30.8738,52.1757Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M33.6588,52.1757a.6293.6293,0,0,1-.63-.63V50.41a.63.63,0,0,1,1.2593,0v1.1358A.6292.6292,0,0,1,33.6588,52.1757Z"/><path class="c2f9c269-a3d2-4695-92a2-993268bd4f2e" d="M22.5182,38.5422v4.2471c1.1183.0452,2.3135.0728,3.6126.0728,1.4864,0,2.8446-.0284,4.0913-.0771V38.5422A64.7511,64.7511,0,0,1,22.5182,38.5422Z"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M26.131,43.492c-1.3085,0-2.5125-.0277-3.6384-.0738a.63.63,0,0,1-.6039-.6291V38.5419a.6278.6278,0,0,1,.198-.4581.6456.6456,0,0,1,.4692-.17,64.2052,64.2052,0,0,0,7.6286,0,.63.63,0,0,1,.6672.6284v4.2429a.63.63,0,0,1-.6051.6291C28.9928,43.4631,27.6259,43.492,26.131,43.492Zm-2.9829-1.31c2.0292.0695,4.4593.06,6.4443-.0049V39.2066c-2.1412.1058-4.3032.1058-6.4443,0Z"/><circle class="bulb2 animated flash infinite 531961ef-9f93-4250-b5b4-76bdf515de52" cx="22.5182" cy="24.9813" r="1.8655"/><circle class="6d96867f-3bdc-4ee5-a573-28527b20cf19" cx="14.6592" cy="11.2386" r="1.3213"/><circle class="6d96867f-3bdc-4ee5-a573-28527b20cf19" cx="13.3379" cy="22.6407" r="1.3213"/><circle class="6d96867f-3bdc-4ee5-a573-28527b20cf19" cx="33.9531" cy="11.2386" r="1.3213"/><circle class="6d96867f-3bdc-4ee5-a573-28527b20cf19" cx="43.6741" cy="16.0566" r="1.3213"/><circle class="6d96867f-3bdc-4ee5-a573-28527b20cf19" cx="39.9781" cy="22.6904" r="1.3213"/><circle class="6d96867f-3bdc-4ee5-a573-28527b20cf19" cx="44.9955" cy="32.685" r="1.3214"/><circle class="6d96867f-3bdc-4ee5-a573-28527b20cf19" cx="19.198" cy="34.0064" r="1.3213"/><circle class="6d96867f-3bdc-4ee5-a573-28527b20cf19" cx="31.7106" cy="27.6059" r="1.3213"/><circle class="6d96867f-3bdc-4ee5-a573-28527b20cf19" cx="7.7422" cy="29.5571" r="1.3213"/><path class="6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M26.37,39.2214A65.4074,65.4074,0,0,1,10.8111,37.35a.63.63,0,0,1-.3474-.998l4.6131-5.9363H13.5961A.63.63,0,0,1,13.0986,29.4l7.5425-9.7057H17.486a.63.63,0,0,1-.4975-1.0159L25.8728,7.246a.63.63,0,0,1,.4974-.2435h0a.63.63,0,0,1,.4975.2435l8.8836,11.4324a.63.63,0,0,1-.4975,1.0159H32.0994L39.6412,29.4a.63.63,0,0,1-.4974,1.0159h-1.48l4.613,5.9363a.63.63,0,0,1-.3474.998A65.4068,65.4068,0,0,1,26.37,39.2214Zm-14.3108-2.87a64.3891,64.3891,0,0,0,28.6217,0l-4.8019-6.1792a.63.63,0,0,1,.4975-1.0159h1.48l-7.5419-9.7057a.63.63,0,0,1,.4974-1.0159h3.1545L26.37,8.6585,18.773,18.4349h3.1551a.63.63,0,0,1,.4975,1.0159l-7.5425,9.7057h1.48a.63.63,0,0,1,.4974,1.0159Z"/><circle class="bulb3 animated flash infinite 330a4fa2-30f3-4490-ad82-9dd2670be8e3" cx="32.6318" cy="33.7108" r="1.8655"/><circle class="bulb1 animated flash infinite 110546e4-bf06-48de-afb3-fa6e2b8f9e50" cx="27.1689" cy="15.3415" r="1.8655"/><path class="fad278f9-7474-4d68-9df6-640fb76b49af" d="M49.4947,52.624c0-.0517-.006-.0984-.0063-.15C48.69,54.82,44.62,58.4019,27.1689,58.4019c-22.542,0-23.84-7.1277-23.793-8.9975-.0818.8974-.13,1.8862-.13,2.9884,0,6.69,7.9253,9.1988,23.2692,9.1988S49.4947,60.1126,49.4947,52.624Z"/><path class=" 6404a475-c8f7-4c78-9d06-2eaf734e4122" d="M26.5147,62.2215c-16.5282,0-23.8991-3.0315-23.8991-9.8287,0-8.5313,2.7788-10.9417,3.4355-11.3919,1.1234-1.3866,2.27-1.0951,4.5079-.5306a57.01,57.01,0,0,0,15.572,1.7623,74.917,74.917,0,0,0,14.7228-1.247c2.9319-.5239,4.2712-.7644,6.0065.8811,1.3122,1.2422,3.2639,5.1327,3.2639,10.7573C50.1242,60.6923,41.8266,62.2215,26.5147,62.2215ZM6.7847,42.0248c-.064.0387-2.91,1.84-2.91,10.368,0,5.9265,6.9823,8.5694,22.64,8.5694,16.9193,0,22.35-2.0261,22.35-8.3382,0-5.19-1.76-8.792-2.87-9.8435-1.2753-1.2065-2.0483-1.0687-4.9187-.5553A77.0263,77.0263,0,0,1,26.131,43.492a58.1716,58.1716,0,0,1-15.8807-1.8c-2.2973-.5817-2.67-.6131-3.2719.1666A.63.63,0,0,1,6.7847,42.0248Z"/><ellipse class="3de3d26e-9533-4823-bf82-23b027c79af5" cx="7.7281" cy="45.4398" rx="2.8999" ry="1.1304" transform="translate(-35.5279 29.5204) rotate(-60.1429)"/></svg>
        </div>
<!--       <h1 class="animated fadeIn" >Merry Christmas</h1> -->
    <h1 class="animated fadeIn" >Happy Holidays</h1>
<!--     <h1 class="animated fadeIn" >Good Tidings & Cheer</h1> -->
<!--       <p>from your friends at OVO</p> -->
    <p>from the Shirks</p>
     
     <ul class="colors">
        <li data-color="#F5624D"></li>
        <li data-color="#CC231E" class="active-color" ></li>
        <li data-color="#34A65F"></li>
        <li  data-color="#0F8A5F"></li>
        <li data-color="#235E6F"></li>
      </ul>
     
  </div>
  
<!--   <div class="sc-player">
  <a href="https://soundcloud.com/matas/hobnotropic">My dub track</a>
  </div> -->
  
<!--   <audio controls>
  <source src="horse.ogg" type="audio/ogg">
  <source src="horse.mp3" type="audio/mpeg">
  Your browser does not support the audio tag.
</audio> -->
  
<!--  <div role="main" class="main wrapper">
    <a href="https://soundcloud.com/nicholas_petersen/sets/petersen-family-christmas" class="sc-player">Listen</a>
  
  </div> -->
  
<!-- <div class="material-button-anim">
  <ul class="list-inline" id="options">
    <li class="option">
      <button class="material-button option1" type="button">
        <span class="fa fa-phone" aria-hidden="true"></span>
      </button>
    </li>
    <li class="option">
      <button class="material-button option2" type="button">
        <span class="fa fa-envelope-o" aria-hidden="true"></span>
      </button>
    </li>
    <li class="option">
      <button class="material-button option3" type="button">
        <span class="fa fa-pencil" aria-hidden="true"></span>
      </button>
    </li>
  </ul>
  <button class="material-button material-button-toggle" type="button">
    <span class="fa fa-plus" aria-hidden="true"></span>
  </button>
</div>
	
	 -->
	
</section>

              
            
!

CSS

              
                * {
	box-sizing:border-box;
}

@include google-font {
  // @include google-font(Lato, 300 400 700);    
  // @include google-font(Open Sans);    // <= not used just to show it works 
  // @include google-font(Marck Script, $text: 'F');
  @include google-font(Oswald, 300 400 700 );
  // @include google-font(Roboto Slab, 300 400 700) ;
  // @include google-font(Arvo, 300 400 700) ;
  @include google-font(Crete Round,400 ) ;
  @include google-font(Bree Serif, 400 ) ;
  @include google-font(Patua One, 400 ) ;
  // @include google-font(Abril Fatface, 400 ) ;
  // @include google-font(Pacifico, 400 ) ;
  @include google-font(Varela Round, 400 ) ;
  @include google-font(Roboto, 300 400 500 700 900 );
}



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

.color1 {
  background-color: #F5624D ;
}

.color2{
  background-color: #CC231E;
}

.color3{
  background-color: #34A65F;
}

.color4{
  background-color: #0F8A5F;
}

.color5{
  background-color: #235E6F;
}

.merry-christmas {
  display: flex ;
  height: 100% ;
  align-items: center ;
  position: relative ;
  // background-color: #CC231E;
  z-index: 0 ;
  
  div {
    z-index: 100 ;
  }
 
// background-image: url("data:image/svg+xml,%3Csvg width='150' height='150' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.096' fill-rule='evenodd'/%3E%3C/svg%3E");
  // background-blend-mode: multiply ;
  // opacity: .61 ;

  &:after {
    content: '';
    background-image: url(https://www.cheesetoast.co.uk/cheesepress/wp-content/uploads/2014/02/snow.png);
    // animation:  ;
    animation: 5s animateIn ease, animate 83s ease 0s infinite ;
    -webkit-animation-fill-mode: forwards;
    background-repeat: repeat ;
    background-size: 43% ;
    // background: url( https://lh4.googleusercontent.com/EL3_hQGZ--Km2IqsGAkugRqr7ZxaUNnpr2n6c2yylfRQlToTGqAGw96go8UA4YaLHNir70WVp6E_ZJI=w2305-h1294);
    position: absolute ;
    top: 0 ;
    width: 100% ;
    height: 100% ;
    // opacity: .25 ;
    // mix-blend-mode: multiply ; 
    z-index: 1 ;
    display: block ;
  }
}


.sky {
  position: absolute ;
  width: 100% ;
  height: 100% ;
  top: 0 ;
  z-index: 1 ;
  opacity: .75 ;
  
}

.wrap {
  display: flex ;
  flex-direction: column ;
  align-items: center ;
  justify-content: center ;
  width: 100% ;
  height: 100% ;
  color: #FFF;
  z-index: 2 ;
}

.icon {
  display: flex ;
  width: 300px ;
  height: 370px ;
  margin-bottom: 32px ;
  // transition:0.5s;
  // backface-visibility: hidden;
  
    
  svg {
    width: 100% ;
    height: 100% ;
    // transform:scale(1);
  // transition:0.5s;
  // backface-visibility: hidden;
    &:hover {
    // animation: tada 1s infinite ease ;
    // cursor: pointer ;
    			// box-shadow:#e9e9e9 0px 20px 20px 0px;
      animation: pulse 1s ;
      // animation-iteration-count: 2;
      animation-iteration-count: infinite ;
				 // transform:scale(1.025);
				cursor:pointer;
  }
  }
  
  
}

.bulb1 {
  animation-duration: 2.3s;
  animation-delay: 1s;
}

.bulb2 {
  animation-duration: 3s;
  animation-delay: 2s;
}

.bulb3 {
  animation-duration: 4s;
  animation-delay: 3s;
}

h1 {
  // font: 400 55px 'Crete Round', sans-serif;
  font: 400 55px 'Bree Serif', sans-serif;
  // font: 400 56px 'Patua One', sans-serif;
  // font: 400 56px 'Varela Round', sans-serif;
  
  text-transform: uppercase ;
  letter-spacing: 0.032em ;
  margin: 0px 0 6px 0  ;
  padding: 0 ;
}

p {
  // font: 400 16px 'Crete Round', sans-serif;
  font: 300 16px 'Oswald', sans-serif;
  // font: 300 16px 'Roboto', sans-serif;
  text-transform: uppercase ;
  // letter-spacing: 0.032em ;
  letter-spacing: 0.092em ;
  padding: 0 ;
  margin: 0 ;
}


.colors{
	text-align: center;
	padding-top: 20px;
  position: absolute ;
  bottom: 18px ;
  display: none ;
  // right: 18px ;
  // display: flex ;
  // align-self: flex-end ;
  
  @media screen and (min-width: 768px) {
    display: block ;
  }
	
	>li{
		list-style: none;
		width: 26px;
		height: 26px;
		border-radius: 50%;
		// border-bottom: 5px solid rgba(0, 0, 0, .1);
		display: inline-block;
		margin: 0 8px 0 0;
		cursor: pointer;
		transition-duration: .2s;
		box-shadow: 0 2px 1px rgba(0, 0, 0, .2);
    border: 2px solid rgba(#fff, .2) ;
    transition: all ease 1s;
    
		
		&:hover{
			transform: scale(1.1);
			// border-bottom: 10px solid rgba(0, 0, 0, .15);
			box-shadow: 0 10px 10px rgba(0, 0, 0, .2);
      transition: all ease 1s;
		}
		
		&.active-color{
			// -webkit-transform: scale(1.2) translateY(-10px);
			// transform: scale(1.2) translateY(-10px);
      transform: scale(1.1);
			box-shadow: 0 8px 8px rgba(0, 0, 0, .2);
      border: 3px solid rgba(#fff, .2) ;
      
			// border-bottom: 20px solid rgba(0, 0, 0, .15);
		}
		
		&:nth-child(1){
			// background-color: #2ecc71;
      @extend .color1 ;
      
		}
		
		&:nth-child(2){
			@extend .color2 ;
		}
		
		&:nth-child(3){
			@extend .color3 ;
		}
		
		&:nth-child(4){
			@extend .color4 ;
		}
		
		&:nth-child(5){
			@extend .color5 ;
		}
	}
}

@keyframes animateIn {
	from {opacity: 0 ; }
	to {opacity: 0.25 }
}

@keyframes animate {
	from {background-position:0 0px;}
	to {background-position: 0px 5500px;}
}
              
            
!

JS

              
                var particleCount = 300;
var particleMax   = 1000;
var sky           = document.querySelector('.sky');
var canvas        = document.createElement('canvas');
var ctx           = canvas.getContext('2d');
var width         = sky.clientWidth;
var height        = sky.clientHeight;
var i             = 0;
var active        = false;
var snowflakes    = [];
var snowflake;

canvas.style.position = 'absolute';
canvas.style.left = canvas.style.top = '0';

var Snowflake = function () {
  this.x = 0;
  this.y = 0;
  this.vy = 0;
  this.vx = 0;
  this.r = 0;

  this.reset();
};

Snowflake.prototype.reset = function() {
  this.x = Math.random() * width;
  this.y = Math.random() * -height;
  this.vy = 1 + Math.random() * 1;
  this.vx = 0.5 - Math.random();
  this.r = 1 + Math.random() * 2;
  this.o = 0.5 + Math.random() * 0.5;
};

function generateSnowFlakes() {
  snowflakes = [];
  for (i = 0; i < particleMax; i++) {
    snowflake = new Snowflake();
    snowflake.reset();
    snowflakes.push(snowflake);
  }
}

generateSnowFlakes();

function update() {
  ctx.clearRect(0, 0, width, height);

  if (!active) {      
    return;
  }

  for (i = 0; i < particleCount; i++) {
    snowflake = snowflakes[i];
    snowflake.y += snowflake.vy;
    snowflake.x += snowflake.vx;

    ctx.globalAlpha = snowflake.o;
    ctx.beginPath();
    ctx.arc(snowflake.x, snowflake.y, snowflake.r, 0, Math.PI * 2, false);
    ctx.closePath();
    ctx.fill();

    if (snowflake.y > height) {
      snowflake.reset();
    }
  }

  requestAnimFrame(update);
}

function onResize() {
  width = sky.clientWidth;
  height = sky.clientHeight;
  canvas.width = width;
  canvas.height = height;
  ctx.fillStyle = '#FFF';

  var wasActive = active;
  active = width > 600;

  if (!wasActive && active) {
    requestAnimFrame(update);
  }
}

// shim layer with setTimeout fallback
window.requestAnimFrame = (function() {
  return  window.requestAnimationFrame       ||
          window.webkitRequestAnimationFrame ||
          window.mozRequestAnimationFrame    ||
          function( callback ){
            window.setTimeout(callback, 1000 / 60);
          };
})();

onResize();
window.addEventListener('resize', onResize, false);

sky.appendChild(canvas);

// var gui = new dat.GUI();
// gui.add(window, 'particleCount').min(1).max(particleMax).step(1).name('Particles count').onFinishChange(function() {
//   requestAnimFrame(update);
// });

// Variables
  var colorButton = $(".colors li");

  colorButton.on("click", function(){
    // console.log('clicked');

    // Remove class from currently active button
    $(".colors > li").removeClass("active-color");

    // Add class active to clicked button
    $(this).addClass("active-color");

    // Get background color of clicked
    var newColor = $(this).attr("data-color");
    // alert(newColor);

    // Change background of everything with class .bg-color
    $(".merry-christmas").css("background-color", newColor);

    // Change color of everything with class .text-color
    // $(".text-color").css("color", newColor);
  });

$('.material-button-toggle').click(function () {
        $(this).toggleClass('open');
        $('.option').toggleClass('scale-on');
});

// $('.sc-player').scPlayer({
//   autoPlay :   true
// });
              
            
!
999px

Console