home.social

#css-grid — Public Fediverse posts

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

fetched live
  1. 𝗙𝗿𝗲𝗲 𝘃𝗶𝗱𝗲𝗼 𝘀𝗲𝗿𝗶𝗲𝘀 𝘁𝗼 𝗹𝗲𝗮𝗿𝗻 𝗖𝗦𝗦 𝗚𝗿𝗶𝗱:

    #Videos #Courses #CSSGrid

    thewhale.cc/posts/free-video-s

    Learn CSS Grid with 25 online videos (4 hours) recorded by Wes Bos to learn from fundamentals to real examples.

  2. In #Google #Chrome, it is possible to apply self-alignment attributes such as align-self, justify-self, and place-self to the grid container within a block element. According to the official specification, this should not be possible. #Firefox is more precise in this case, so it is only possible to align an element (grid subelement) within a grid container itself.

    w3.org/TR/css-grid-1/#alignment

    #css #frontend #web #development #browser #cssgrid #grid #w3c #webstandards web #technology

  3. So I saw a demo in the @codepen Spark and I liked the idea, but it was too JS-heavy for my taste, plus I would have preferred the rotation animations to be "hinged" around the top/ bottom edge depending on direction.

    So I did it with pure #CSS on scroll codepen.io/thebabydino/pen/JoK

    cc @bramus

    #cssScrollAnimation #scrollEffect #code #cssTransforms #cssTransform #css3D #3D #coding #frontend #cssLayout #web #dev #webDev #webDevelopment #cssGrid #cssFlex #flexbox #cssVariables #cssTransition

  4. Simple pricing cards - a demo I made on @codepen: codepen.io/thebabydino/pen/ZYO

    I've posted even cooler pure #CSS ones (non-rectangular shapes + rounded corners, glassmorphism + border effects combined) for Ko-fi & Patreon supporters:

    ❇️ ko-fi.com/anatudor/tiers

    ❇️ patreon.com/c/anatudor/members

    #cssGrid #cssClipPath #clipping #code #web #dev #webDev #webDevelopment #coding #frontend

  5. The tiny details make the difference - check out those roundings in the cards demo!

    Even cooler: the shape depends on the size of the sibling it wraps around, no magic numbers. If we need the shape to grow (for ex if we want it to have more content), there's no need to change any clip-path or mask.

    #CSS #SVG #filter #svgFilter #cssSubgrid #cssLayout #cssGrid

  6. This is what I see browsers actually doing: what I want in my simple, no wrap use case.

    Slightly different things in the hypothetical case.

    Chrome, Firefox, Epiphany below.

    Also, please don't make fun of my browser themes. I'm a visual person, so I use themes that visually differentiate one browser from another.

    #CSS #cssGrid #cssLayout