<div class="block-animation"></div>
        .block-animation {
          width: 130px;
          height: 130px;
          background-color: #2196F3;
          transition: background-color 1s linear;
        }
        
        .block-animation:hover {
          background-color: #3F51B5;
        }

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.