home.social

#cssunits — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cssunits, aggregated by home.social.

  1. Lỗi layout CSS thường không phải do Flexbox hay Grid! Hầu hết chúng đến từ các vấn đề về đơn vị như 100vh trên mobile, em bị nhân đôi, hoặc px bỏ qua tỷ lệ chữ. Hiểu rõ về các đơn vị CSS có thể giúp bạn tránh nhiều phiền toái!

    #CSS #Layout #WebDevelopment #Frontend #Programming #BugFixing
    #LỗiCSS #PhátTriểnWeb #FrontendDev #LậpTrình #CSSUnits

    reddit.com/r/programming/comme

  2. If you want a fixed aspect-ratio element that always touches either the horizontal or vertical edges of its flexible size and aspect ratio wrapper *which does not coincide with the viewport*, you can make the wrapper a container and use container query units.

    Live test on @codepen codepen.io/thebabydino/pen/Exz

    #CSS #cssLayout #layout #container #containerQueries #containerQuery #cssUnits #code #coding #frontend #web #dev #webDev

  3. If you want a fixed aspect-ratio element that always touches either the horizontal or vertical edges of its flexible size and aspect ratio wrapper *which does not coincide with the viewport*, you can make the wrapper a container and use container query units.

    Live test on @codepen codepen.io/thebabydino/pen/Exz

    #CSS #cssLayout #layout #container #containerQueries #containerQuery #cssUnits #code #coding #frontend #web #dev #webDev

  4. If you want a fixed aspect-ratio element that always touches either the horizontal or vertical edges of its flexible size and aspect ratio wrapper *which does not coincide with the viewport*, you can make the wrapper a container and use container query units.

    Live test on @codepen codepen.io/thebabydino/pen/Exz

    #CSS #cssLayout #layout #container #containerQueries #containerQuery #cssUnits #code #coding #frontend #web #dev #webDev

  5. If you want a fixed aspect-ratio element that always touches either the horizontal or vertical edges of its flexible size and aspect ratio wrapper *which does not coincide with the viewport*, you can make the wrapper a container and use container query units.

    Live test on @codepen codepen.io/thebabydino/pen/Exz

    #CSS #cssLayout #layout #container #containerQueries #containerQuery #cssUnits #code #coding #frontend #web #dev #webDev

  6. If you want a fixed aspect-ratio element that always touches either the horizontal or vertical edges of its flexible size and aspect ratio wrapper *which does not coincide with the viewport*, you can make the wrapper a container and use container query units.

    Live test on @codepen codepen.io/thebabydino/pen/Exz

    #CSS #cssLayout #layout #container #containerQueries #containerQuery #cssUnits #code #coding #frontend #web #dev #webDev

  7. As exciting (and useful) all the new #CSS units are, it looks like things working as expected with them isn't a thing for now.

    Safari has problems with `lh` bugs.webkit.org/show_bug.cgi?i and doesn't seem to support `cap` (at least from what I've tested in Epiphany).

    #bug #cssBug #Safari #SafariBug #code #coding #cssUnits #frontend #webDev #webDevelopment

  8. As exciting (and useful) all the new #CSS units are, it looks like things working as expected with them isn't a thing for now.

    Safari has problems with `lh` bugs.webkit.org/show_bug.cgi?i and doesn't seem to support `cap` (at least from what I've tested in Epiphany).

    #bug #cssBug #Safari #SafariBug #code #coding #cssUnits #frontend #webDev #webDevelopment

  9. As exciting (and useful) all the new #CSS units are, it looks like things working as expected with them isn't a thing for now.

    Safari has problems with `lh` bugs.webkit.org/show_bug.cgi?i and doesn't seem to support `cap` (at least from what I've tested in Epiphany).

    #bug #cssBug #Safari #SafariBug #code #coding #cssUnits #frontend #webDev #webDevelopment

  10. As exciting (and useful) all the new #CSS units are, it looks like things working as expected with them isn't a thing for now.

    Safari has problems with `lh` bugs.webkit.org/show_bug.cgi?i and doesn't seem to support `cap` (at least from what I've tested in Epiphany).

    #bug #cssBug #Safari #SafariBug #code #coding #cssUnits #frontend #webDev #webDevelopment

  11. As exciting (and useful) all the new #CSS units are, it looks like things working as expected with them isn't a thing for now.

    Safari has problems with `lh` bugs.webkit.org/show_bug.cgi?i and doesn't seem to support `cap` (at least from what I've tested in Epiphany).

    #bug #cssBug #Safari #SafariBug #code #coding #cssUnits #frontend #webDev #webDevelopment

  12. #Development #Approaches
    Why you should use px units for spacing techniques · The drawbacks of using relative units for margin, padding, and the like ilo.im/15fman

    _____
    #WebDev #WebDesign #ResponsiveDesign #Frontend #CSS #CssUnits

  13. #Development #Approaches
    Why you should use px units for spacing techniques · The drawbacks of using relative units for margin, padding, and the like ilo.im/15fman

    _____
    #WebDev #WebDesign #ResponsiveDesign #Frontend #CSS #CssUnits

  14. #Development #Approaches
    Why you should use px units for spacing techniques · The drawbacks of using relative units for margin, padding, and the like ilo.im/15fman

    _____
    #WebDev #WebDesign #ResponsiveDesign #Frontend #CSS #CssUnits

  15. #Development #Approaches
    Why you should use px units for spacing techniques · The drawbacks of using relative units for margin, padding, and the like ilo.im/15fman

    _____
    #WebDev #WebDesign #ResponsiveDesign #Frontend #CSS #CssUnits