Answers for "how do transitions work css"

CSS
1

css transition syntax

transition: all 300ms ease-in-out;
Posted by: Guest on October-02-2021
4

transition css

div:hover {
  background-color: #000;
  transition: background-color 400ms;
}

/* Or control over animation with transition timing */
div:hover {
  background-color: #000;
  transition: background-color 400ms ease-in-out;
}

/* timing - linear|ease|ease-in|ease-out|ease-in-out|cubic-bezier(n,n,n,n) */
Posted by: Guest on August-30-2021

Browse Popular Code Answers by Language