JSFiddle - React, Tailwind, and code Playground

by bizamajig

HTML

<div class="bg-animated">

</div>

CSS

.bg-animated {
    -webkit-animation-name: animated-background-zoomin;
    -webkit-animation-duration: 60s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    animation-name: animated-background-zoomin;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    background-image: url("http://www.artisanaljavascript.com/images/tradition.jpg");
    background-size: cover;
    background-size: 110%;
    content: " ";
    width: 100%;
    height: 100%;
    position: fixed;
    -webkit-transform-origin: center center 0;
            transform-origin: center center 0;
    -webkit-transform: scale(1.2);
            transform: scale(1.2);

}

@-webkit-keyframes  animated-background-zoomin {
  0%  {   -webkit-transform: scale(1);   transform: scale(1); } 
  100: {  -webkit-transform: scale(1.4);  transform: scale(1.4); }
}

@keyframes  animated-background-zoomin {
  0%  {   -webkit-transform: scale(1);   transform: scale(1); } 
  100: {  -webkit-transform: scale(1.4);  transform: scale(1.4); }
}