home.social

#csswtf — Public Fediverse posts

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

  1. Extremely annoying #CSS gotcha: container query units seem to be relative to the `content-box` dimensions. And there doesn't seem to be any way to make them relative to the `border-box` dimensions... which is what I need to solve other problems caused by container queries. 😭

    #cssWTF #gotcha #layout #cssLayout #wtf #code #coding #containerQueries #containerQuery #frontend #webDev #webDevelopment

  2. Extremely annoying #CSS gotcha: container query units seem to be relative to the `content-box` dimensions. And there doesn't seem to be any way to make them relative to the `border-box` dimensions... which is what I need to solve other problems caused by container queries. 😭

    #cssWTF #gotcha #layout #cssLayout #wtf #code #coding #containerQueries #containerQuery #frontend #webDev #webDevelopment

  3. In #CSS

    😵`grey` is darker than `darkgrey`
    😵`pink` is lighter than `lightpink`
    😵‍💫R channel at 255 with G & B at 0 is `red`, B channel at 255 with R &G at 0 is `blue`... but G channel at 255 with R &B at 0 is not `green`, it's `lime`!
    🥴`fuchsia` is `magenta`
    🥴`aqua` is `cyan`

    For real, see this page by @Meyerweb meyerweb.com/eric/css/colors/ (which I've been using for over a decade)

    A bit of history twitter.com/briankardell/statu

    #cssWTF #wtf #dafuq #code #coding #frontend #web #webDev #webDevelopment