.animated { transition-property: background-color; transition-duration: 3s; }