Many websites don’t bother to fix this thing which significantly improves the UX when browsing websites on small screens (smartphones, etc.). Overflows cause the webpage to drift when attempting to scroll down, and it can be a frustrating experience (at least, for me, especially when I have to re-adjust because the initial size of the text is small because somewhere down the page there is a long string of monospace text or code piece in a <pre> tag).

  • hikosan@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    il y a 24 heures

    How do you know it’s for this specific problem without ever trying it yourself? Plus, that website is bloated, crazy slow (1min+), and keeps downloading data even after the page has fully loaded. It is a perfect example of why the modern web is terrible. On the other hand, this post shows how to solve the problem, and it could perhaps aid in boosting your CSS skills for free.