The Hidden CSS Property You Should Be Using for Better UX!

Sdílet
Vložit
  • čas přidán 13. 09. 2024

Komentáře • 3

  • @eucalyptech
    @eucalyptech Před 12 dny

    Good to know, thank you Udoro !

  • @mio...
    @mio... Před 19 dny +1

    Sometimes, on smaller screen devices (phone) you thank God that default works as it does. When a website is not optimized for phone, and you end up in a full screen section that has overflow scroll, with this "contain" property you have no chance escaping the section. You end up stuck there.
    So "contain" is a great property to use of you pay attention that no scrolling section is larger than the screen size (you can grab page outside the section and keep scrolling through the page)