.container
  .splash
View Compiled
html {
  width:100vw;
  height:110vh;
background: rgb(186,203,225); /* Old browsers */
background: -moz-linear-gradient(top, rgba(186,203,225,1) 0%, rgba(152,172,206,1) 31%, rgba(144,179,204,1) 31%, rgba(152,172,206,1) 31%, rgba(150,183,215,1) 32%, rgba(111,117,132,1) 92%, rgba(96,71,77,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(186,203,225,1)), color-stop(31%,rgba(152,172,206,1)), color-stop(31%,rgba(144,179,204,1)), color-stop(31%,rgba(152,172,206,1)), color-stop(32%,rgba(150,183,215,1)), color-stop(92%,rgba(111,117,132,1)), color-stop(100%,rgba(96,71,77,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(186,203,225,1) 0%,rgba(152,172,206,1) 31%,rgba(144,179,204,1) 31%,rgba(152,172,206,1) 31%,rgba(150,183,215,1) 32%,rgba(111,117,132,1) 92%,rgba(96,71,77,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(186,203,225,1) 0%,rgba(152,172,206,1) 31%,rgba(144,179,204,1) 31%,rgba(152,172,206,1) 31%,rgba(150,183,215,1) 32%,rgba(111,117,132,1) 92%,rgba(96,71,77,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(186,203,225,1) 0%,rgba(152,172,206,1) 31%,rgba(144,179,204,1) 31%,rgba(152,172,206,1) 31%,rgba(150,183,215,1) 32%,rgba(111,117,132,1) 92%,rgba(96,71,77,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(186,203,225,1) 0%,rgba(152,172,206,1) 31%,rgba(144,179,204,1) 31%,rgba(152,172,206,1) 31%,rgba(150,183,215,1) 32%,rgba(111,117,132,1) 92%,rgba(96,71,77,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bacbe1', endColorstr='#60474d',GradientType=0 ); /* IE6-9 */
}

.container {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/bk2.png");
  width: 100%;
  background-size: 100% auto;
  height: 600px;
  margin-top: -12%;
  opacity: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.splash {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/svg-sprite9.svg);
  width: 300px;
  height: 150px;
  opacity: 0.5;
  position: absolute;
  left: 50%;
  margin-left: -180px;
  top: 55%;
  animation: splashit 1.8s steps(24) infinite;
}

/* fallback */
.no-svg .splash {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/svg-sprite9.png);
}

@keyframes splashit {
  80%, 100% { 
    background-position: 0 -3848px;
    opacity: 0;
  }
}

@media screen and (max-width: 800px) {
    .container { background: none !important; }
}

@media screen and (min-height: 600px){
    .container {
      margin-top: -1% !important;
      height: 700px !important;
    }
}


View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/modernizr.custom.18922.js