javascript - Set css property without css transition -


i have element need toggle opacity. want transition opacity, , not. there easy way reset property without transition using javascript of time without turning transition off?

is there easy way reset property without transition using javascript of time without turning transition off?

not know of. transition occurs when property set on changes – how change occurs, not matter.

but there easy way of turning off – apply transition via class, , remove class dynamically when want change property value without transition.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -