JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div id="container">
</div>
</body>
CSS
/*Custom CSS styles being used on top of the standard Foundation 4 style sheet*/
* {
margin: 0;
padding: 0;
}
a {
color: white;
font-style: italic;
}
/*Keyframes*/
@keyframes snow {
0% { background-position: 0px 0px, 0px 0px, 0px 0px }
100% { background-position: 500px 1000px, 400px 400px, 300px 300px }
}
@-moz-keyframes snow {
0% { background-position: 0px 0px, 0px 0px, 0px 0px }
100% { background-position: 500px 1000px, 400px 400px, 300px 300px }
}
@-webkit-keyframes snow {
0% { background-position: 0px 0px, 0px 0px, 0px 0px }
50% { background-color: transparent }
100% {
background-position: 500px 1000px, 400px 400px, 300px 300px;
background-color: transparent;
}
}
@-ms-keyframes snow {
0% { background-position: 0px 0px, 0px 0px, 0px 0px }
100% { background-position: 500px 1000px, 400px 400px, 300px 300px }
}
body {
background-image: url("http://s17.postimg.org/9htu61zjj/background.jpg");
background-size: cover;
height: 500px;
}
#container {
height:500px;
margin: 0;
text-align: center;
color: white;
font: 100px/1 'Spirax', cursive;
text-shadow: 0px 0px 4px rgba(0,0,0, 0.5);
background-color: transparent;
background-image: url('http://img138.imageshack.us/img138/5230/snowh.png'), url('http://img594.imageshack.us/img594/9146/snow3q.png'), url('http://img196.imageshack.us/img196/5065/snow2l.png');
-webkit-animation: snow 20s linear infinite;
-moz-animation: snow 20s linear infinite;
-ms-animation: snow 20s linear infinite;
animation: snow 20s linear infinite;
}