home.social

#gridlayout — Public Fediverse posts

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

  1. Auch eine deutsche Version ist wie immer verfügbar: ich habe einen neuen Artikel verfasst! Er beschreibt, wie man ein CSS Grid erstellt, das ein klassisches mehrspaltiges Raster (z. B. 12 Spalten) mit Layout-Breakouts (Full Bleed) kombiniert.
    CodePen-Demos des finalen Layouts und zwei Vorversionen sind im Tutorial verlinkt.
    Ich freue mich sehr über Kritik!

    #frontend #css #cssGrid #gridLayout #cssLayout #webDev

    sebkln.de/tutorials/css-layout

  2. I wrote a new article! It explains how to create a CSS Grid that combines a classic multi-column grid (e.g. 12 columns) with Layout Breakouts (Full Bleed positioning). Allows for flexible alignment of grid items.
    CodePen demos for the final layout and two pre-versions are linked in the tutorial. Yes, there's a tl;dr. 😄
    I am very interested in your feedback!

    #frontend #css #cssGrid #gridLayout #cssLayout #webDev

    sebkln.de/en/tutorials/css-lay

  3. I have a new article out on Frontend Masters: get the number of auto-fit/ auto-fill columns in #CSS
    frontendmasters.com/blog/count

    Check it out, I can assure you you'll probably learn something new. At the very least that some issues have recently been fixed... 😼

    #code #coding #frontend #gridLayout #cssLayout #cssMaths #web #webDev #dev #webDevelopment

  4. I have a new article out on Frontend Masters: get the number of auto-fit/ auto-fill columns in #CSS
    frontendmasters.com/blog/count

    Check it out, I can assure you you'll probably learn something new. At the very least that some issues have recently been fixed... 😼

    #code #coding #frontend #gridLayout #cssLayout #cssMaths #web #webDev #dev #webDevelopment

  5. I have a new article out on Frontend Masters: get the number of auto-fit/ auto-fill columns in #CSS
    frontendmasters.com/blog/count

    Check it out, I can assure you you'll probably learn something new. At the very least that some issues have recently been fixed... 😼

    #code #coding #frontend #gridLayout #cssLayout #cssMaths #web #webDev #dev #webDevelopment

  6. I have a new article out on Frontend Masters: get the number of auto-fit/ auto-fill columns in #CSS
    frontendmasters.com/blog/count

    Check it out, I can assure you you'll probably learn something new. At the very least that some issues have recently been fixed... 😼

    #code #coding #frontend #gridLayout #cssLayout #cssMaths #web #webDev #dev #webDevelopment

  7. PSA: not setting `height: 100%` to begin with on an element that has a `padding` is a better way of avoiding overflow than the nuclear solution of setting `box-sizing: border-box` on everything.

    Live comparison on @codepen:

    codepen.io/thebabydino/pen/vEY

    #CSS #layout #cssLayout #cssGrid #coding #code #frontend #gridLayout #boxModel #web #webDev #webDevelopment #dev

  8. Another super old @codepen demo I redid with modern #CSS is this yummy menu codepen.io/thebabydino/pen/Aox

    CSS grid instead of absolute positioning, clip-path instead of nested skew and un-skew, CSS variables to avoid setting a separate transform chain on each item... and more!

    #gridLayout #cssGrid #clipPath #clipping #cssTransforms #cssVariables #coding #code #frontend #webDevelopment #web #dev #webDev

  9. One #CSS property I use a lot is `grid-area`.

    In this basic @codepen example, `grid-area` (through its `grid-row` and `grid-column` components) is all that changes value between the narrow and wide screen cases (for the nav items wrapper and for the search wrapper) codepen.io/thebabydino/pen/Yzm

    #cssGrid #gridLayout #responsive #code #web #ded #webDev #webDevelopment #coding #frontend

  10. Someone hearted my orbits loader so I just had to scramble to quickly update it to use CSS grid instead of absolute positioning, CSS trig instead of precomputing tan in the Pug & passing it to the #CSS as a custom property & individual transform functions.

    You can see it on @codepen:
    codepen.io/thebabydino/pen/VwY

    #cssGrid #gridLayout #transform #3D #loader #spinner #Maths #geometry #trigonometry #code #coding #frontend #web #dev #webDevelopment #dev

  11. Find it mind-boggling anyone could find something so simple mind-boggling (I'm also bored of this kind of thing since I've coded it way too many times over the past 7 years), but here's a faded progress ring in under 20 heavily commented #CSS declarations on @codepen:
    codepen.io/thebabydino/pen/vYo

    #gridLayout #cssGrid #cssGradient #mask #cssMask #code #coding #frontend #web #dev #webDev #webDevelopment