3 ms·
I sometmes like CLS, it makes it look like things are happening instead of feeling like a wait time. I recently used a simple templating mechanism elem = jquer
by teknopaul 4y ago
I sometmes like CLS, it makes it look like things are happening instead of feeling like a wait time.
I recently used a simple templating mechanism
elem = jquery.clone()
...
elem.slideDown()
And this renders bits of the page moving them as it does it; slideDown() is in jquery core. It used to be popular before that biz of rendering grey squares first got invented
- tryfinally 4y agoLayout shift feels fairly terrible when you're navigating to an element that is at the bottom of the page (via #id) or simply refreshing the page. There is literally nothing more annoying than clicking the wrong link because the layout shifted under the cursor at just the wrong moment. CLS is also known as "jank" for a reason.