A simple and clean gradient background animation using only CSS. As used on https://manuelpinto.in
A Pen by Shaswat20raj on CodePen.
A simple and clean gradient background animation using only CSS. As used on https://manuelpinto.in
A Pen by Shaswat20raj on CodePen.
| <h1 class="text-light">Pure CSS Animated Gradient Background</h1> | |
| <div class="btn-group mt-2 mb-4" role="group" aria-label="actionButtons"> | |
| <a href="https://codepen-api-export-production.s3.us-west-2.amazonaws.com/zip/PEN/pyBNzX/1578778289271/pure-css-gradient-background-animation.zip" class="d-block btn btn-outline-light" download><i class="fas fa-file-download mr-2"></i>Download Source</a> | |
| <a href="https://sh20raj.blogspot.com/" target="_blank" class="d-block btn btn-outline-light">Visit my Website<i class="fas fa-external-link-square-alt ml-2"></i></a> | |
| </div> | |
| <h6 class="text-light small font-weight-bold"><i class="fas fa-code"></i> with <i class="fas fa-heart"></i> by Your Name</h6> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/js/all.min.js" integrity="sha256-qM7QTJSlvtPSxVRjVWNM2OfTAz/3k5ovHOKmKXuYMO4=" crossorigin="anonymous"></script> |
A simple and clean gradient background animation using only CSS. As used on https://manuelpinto.in
A Pen by Shaswat20raj on CodePen.
| // By: | |
| // Manuel Pinto | |
| // https://manuelpinto.in |
| body { | |
| background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); | |
| background-size: 400% 400%; | |
| animation: gradient 15s ease infinite; | |
| } | |
| @keyframes gradient { | |
| 0% { | |
| background-position: 0% 50%; | |
| } | |
| 50% { | |
| background-position: 100% 50%; | |
| } | |
| 100% { | |
| background-position: 0% 50%; | |
| } | |
| } |
| <link href="https://codepen.io/P1N2O/pen/xxbjYqx" rel="stylesheet" /> |