JSFiddle - React, Tailwind, and code Playground

by alexoviedo999

HTML

<div class="gray_invert">
<img src="http://1.bp.blogspot.com/-OOQenAqb3S8/T1PCpS-TT4I/AAAAAAAAFeE/BWLvsDLf9Ug/s1600/grey-gradient-6.jpg">
</div>

CSS

.gray_invert { 
    background: no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display:absolute;
    -webkit-filter: invert(1%);
    -webkit-filter: invert(100%);
    -moz-filter: invert(100%);
    -ms-filter: invert(100%);        
    -webkit-animation-duration: 4s;
    -webkit-animation-name: psychedelic;
    -webkit-animation-iteration-count: infinite;
  }
  
  @-webkit-keyframes psychedelic {
    from {
      -webkit-filter: invert(1%);
    }
    to {
      -webkit-filter: invert(100%);
    }
    }