H
H
htmlclassic2021-09-05 13:38:25
css
htmlclassic, 2021-09-05 13:38:25

How to remove translate brakes when elements are hidden with overflow hidden?

I'm making a slider. The overflow hidden slider has all slides(.slide>img) on ​​one line. I change slides with the help of a translator.

When the page is loaded for the first time, if you immediately click on switching the last slide, then the translator comes with mini brakes. If you walk (switch) through all the slides, then there are no more lags (as if the browser simply does not load all the picture slides that have not yet been seen in the viewport).

Can I somehow load the slides that are in overflow hidden in advance?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question