.xmas
  each i in new Array(5)
    .xmas-row
      each i in new Array(10)
        .xmas-tree
          each i in new Array(2)
            .xmas-tree_branch
    .xmas-row
      each i in new Array(10)
        .xmas-pine
          each i in new Array(2)
            .xmas-pine_branch
h1.h1 Merry Little Christmas
View Compiled
body {
  background-color: LightSalmon;
  margin: 0;
  overflow: hidden;
}

.h1 {
  color: PapayaWhip;
  font-family: 'Raleway', sans-serif;
  font-size: 1.3em;
  font-weight: normal;
  letter-spacing: 4px;
  text-align: center;
}

.xmas {
  box-sizing: border-box;
  box-shadow: 0 10px 25px 0 rgba(0,0,0,0.25);
  background-color: PapayaWhip;
  width: 715px;
  max-height: 480px;
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  padding: 30px;
  
  &-row {
    float: left;
    margin-top: -230px;

    &:not(:first-child) {
      margin-left: 30px;
    }

    &:nth-child(odd) {
      animation: snow 8s linear infinite;
    }
  }

  &-tree {
    margin-bottom: 20px;

    &_branch {
      animation: color 5s linear infinite;
      width: 25px;
      height: 25px;
      border-right: 2px solid LightSalmon;
      border-bottom: 2px solid MediumSeaGreen;
      margin: 5px;
      transform: rotate(-135deg);

      &:nth-child(even) {
        margin-top: -10px;
      }
    }
  }

  &-pine {
    margin-bottom: 30px;

    &_branch {
      animation: color 5s linear infinite;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 20px 25px 20px;
      border-color: transparent transparent MediumSeaGreen transparent;

      &:first-child {
        border-bottom-color: LightSalmon;
        position: relative;
        z-index: 10;
      }
      
      &:not(:first-child) {
        margin-top: -10px;
      }
    }
  }
}

@keyframes snow {
  100% {
    margin-top: -23px;
  }
}

@keyframes color {
  40%, 50% {
    border-bottom-color: MediumTurquoise;
  }
}
View Compiled
/* 
 * PURE CSS PATTERN ILLUSTRATION
 * Inspired by a real christmas tapestry
 * Happy Holidays!!!
 * By ilithya | 2015
 */

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.