"Animated Background"
Bootstrap 3.0.3 Snippet by ankur123

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div id="myelement"><i class="fa fa-diamond"></i> </div>
#myelement { max-width: auto; height: 600px; font-size: 2em; font-weight: bold; margin: 50px auto; text-align: center; -webkit-animation: colorchange 5s linear 1s infinite alternate; animation: colorchange 5s linear 1s infinite alternate; } #myelement i{ font-size: 50px; color: #fff; text-align: center; line-height: 400px; } @keyframes colorchange { 0% { background-color: #00F; /* from: blue */ } 25% { background-color: #F00; /* red */ } 50% { background-color: #0F0; /* green */ } 75% { background-color: #F0F; /* purple */ } 100% { background-color: #00F; /* to: blue */ } }

Related: See More


Questions / Comments: