tiny-slider icon indicating copy to clipboard operation
tiny-slider copied to clipboard

Transition All property can break other scripts

Open dijkermans opened this issue 3 years ago • 0 comments

Hi,

I'd suggest avoiding the "transition: all" property. It can break other scripts, like scrollreveal scripts.

It's a better approach to use specific properties like: "transition: background-color 0.4s ease, color 0.4s ease"

The main concern is this one:

.tns-slider { -webkit-transition: all 0s; -moz-transition: all 0s; transition: all 0s; } It can't be replaced by transition:none. It actually seems to work fine without these lines, but I haven't figured out yet what's best.

Regards.

tns 2.9.3

dijkermans avatar Feb 01 '22 16:02 dijkermans