Answers for "smotth transition in a tag html"

CSS
-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
1

html transition

html.color-theme-in-transition,
html.color-theme-in-transition *,
html.color-theme-in-transition *:before,
html.color-theme-in-transition *:after {
	transition: all 750ms !important;  
    transition-delay: 0 !important;
}
Posted by: Guest on April-28-2021

Browse Popular Code Answers by Language