Answers for "css multiple transitions"

CSS
1

how to use the transition left in css

nav:hover {
  left: 0;
  transition: 2s;
}
Posted by: Guest on October-24-2020
1

how to specify multiple transitions for multiple properties in transition property

/*You can add more and more using commas*/
.class-name {
  /* element transitions top and font-size for two seconds */
  transition: height 2s ease-in-out, font-size 2s ease-in-out;
}
Posted by: Guest on February-18-2021

Browse Popular Code Answers by Language