N
N
nasvek2021-07-06 15:56:56
css
nasvek, 2021-07-06 15:56:56

What is the problem, is the long page of the site lags due to CSS?

Good evening, tell me what could be the problem and how to fix it: 1) There is an HTML
page of the site, a very long page, it has a lot of elements displayed in a loop
fast scrolling down the white screen and blunts the browser (sometimes the page drops out altogether and the pancakes are shown), by poking and line-by-line disabling line by line of JS files and CSS files, it was revealed that everything is happening due to the CSS file

Tell me why this can happen, maybe this connected with the recalculation of the height of the blocks or something from this series, I feel that everything is going there, but where more specifically, can you tell me, I will be grateful!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nasvek, 2021-07-06
@nasvek

The problem is solved, the reason why the browser did not have enough RAM and the document was shown for a long time, in one line of code, so I did not understand why, but apparently due to dynamically calculated block sizes60e45bf2ca418091529385.png

D
Dima, 2021-07-06
Dolgoter @SpiderPigAndCat

oops, this is if there is not enough operatives. on the mobile, remove some of the data. you can put a preloader

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question