Which version of accordion is most smooth, fastest and without lags?
Is better pure CSS3
or something like this javascript accelerated
?
Fiddle
Which have best performance?
Thanks for any opinions!
CSS transitions are always faster, as they do not need to run a cycle to process the JavaScript.
Most specifically, CSS transitions changing scale, opacity and rotation are fastest because they do not trigger a page-wide redraw.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With