Answers for "transition-property opacity"

CSS
3

transition transform

/* Transition Transform */
.section:hover {
  transform: translateX(0px) translateY(75px);
}

.section {
  transition: transform 500ms ease-in-out 25ms;
}
Posted by: Guest on October-11-2020
-1

opacity transition in css

/*
Opacity transition in CSS

By using this we can add element transition with some delay.
And due to transition delay its look like animation of element.
*/

div {
  transition: opacity 0.5s; /* Transition should take 0.3s */
  -webkit-transition: opacity 0.5s; /* Transition should take 0.3s */
  opacity: 1; /* Set opacity to 1 */
}

/*
I hope it will help you.
Namaste
*/
Posted by: Guest on May-10-2020

Browse Popular Code Answers by Language