style.transition code example

Example 1: css transition

/*CSS Transition Syntax*/
selector {
 transition: property duration timing-function delay|initial|inherit; 
}

Example 2: 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;
}

Example 3: transition syntax css

transition: property duration transition-timing-function delay; 
/*Shorthand Property*/

Tags:

Css Example