animation | CSS-Tricks - change the background color

PHOTO EMBED

Fri Jun 25 2021 08:21:56 GMT+0000 (UTC)

Saved by @latifa_amaireh #css

.element {
  animation: pulse 5s infinite;
}

@keyframes pulse {
  0% {
    background-color: #001F3F;
  }
  100% {
    background-color: #FF4136;
  }
}
content_copyCOPY

https://css-tricks.com/almanac/properties/a/animation/