#CSSGrid

Ana Tudor 🐯anatudor
2026-01-29

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.

Screenshot highlighting the card corner roundings around their round and pill-shaped siblings.Zoom into one of the details.Zoom into another.
Ana Tudor 🐯anatudor
2026-01-29

My most hearted @codepen demos of '26:

✨ Pure animated carousel codepen.io/thebabydino/pen/dPX

✨ Scatter & CSS gradient codepen.io/thebabydino/pen/zxB

✨ Cards with concave rounding on irregular grid codepen.io/thebabydino/pen/Wbx

First two need very little code and are heavily commented.

Screenshot of animated 3D carousel, where the items are placed on the inside of a cylinder approximation.Screenshot of light blue to dark blue top to bottom gradient with a pixelated grain.Screenshot showing cards smoothly wrapping around circular/ pill shaped elements.
Inautiloinautilo
2026-01-23


When will CSS Grid Lanes arrive? · “It’s going to arrive sooner than you think.” ilo.im/16a21t

_____

Ana Tudor 🐯anatudor
2026-01-22

Clip element on - a little pure demo I made on @codepen codepen.io/thebabydino/pen/vEG

Just scroll-driven animation magic 🪄✨ - no other tricks.

Ana Tudor 🐯anatudor
2026-01-21

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.

Inautiloinautilo
2026-01-15


Accessible faux-nested interactive controls · How to solve a tricky accessibility problem ilo.im/169v7j

_____

Inautiloinautilo
2026-01-15


New Safari developer tools · Safari’s Grid Inspector adds support for CSS ‘grid-lanes’ ilo.im/169url

_____

Joe Steinbringjoe@jws.news
2026-01-08

How to use wa-grid with Vue

Last month, we explored using wa-card with Vue.js. In the final example, we created a grid layout using CSS, but Web Awesome also enables this with a WA component. Today, we’ll extend that example by integrating the WA component. Previously, we learned how to center content using Bulma and Bootstrap. WA provides a similar approach to these frameworks.

Web Awesome wants a basic grid to look like this:

<div class="wa-grid">
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</div>

You can get fancier with spans or gap definitions, but this is all you really need. So, what does the result look like?

CodePen Embed Fallback

The result looks very similar to what we did in the fourth wa-card example. The big difference is that it is more fully Web-Awesome-ized. We could end here, but we could also examine what it looks like with more data in the photos array. You might have guessed that the hard-coded examples come from JWS Pictures. When I created it, I ensured that all.json and all.xml were included so you can retrieve all the photos in your Vue app. If we add an onMounted() lifecycle hook, we can load the photos defined in the JSON file once the component has been mounted. Let’s see what that would look like.

CodePen Embed Fallback

Adding all the photos doesn’t seem to affect the design. In fact, it looks pretty good. I don’t want to just dump photos onto the page, so let’s see what Array.prototype.sort() can do for us.

CodePen Embed Fallback

Now, the images are sorted from newest to oldest rather than in the order they appear in the JSON file. The next step would be to sort and group the photos simultaneously. This way, it becomes clearer which photos belong to which batches. A photosByYear computed ref would allow for that.

CodePen Embed Fallback

The computed ref has properties for a year value and the photos taken in that year. Next time, we will see how we can further evolve this project.

First example: https://codepen.io/steinbring/pen/gbPJLLK/e3b93e220312e05d6c51444c22ed12ba

Second example: https://codepen.io/steinbring/pen/xbZNReX/9b05838c6096c00e08690c24900cd9be

Third example: https://codepen.io/steinbring/pen/GgqKjwM/22f21efec564bee348b1db9eb8dd90de

Fourth example: https://codepen.io/steinbring/pen/bNebwyx/5dadf66f9b55153a63a02d713f12ccc8

#CSSGrid #displayGrid #VueJs #WebAwesome
Ana Tudor 🐯anatudor
2026-01-05

Wake up, wake up, wake up!

If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you 🙏 and second, I've just published a massive post about an improved technique for flexible irregular shapes.

❇️ ko-fi.com/post/New-year-new-te

❇️ patreon.com/posts/new-year-new

A square image with cutouts depending on the dimensions of corner elements, dimensions that in turn depend on how the text in those corner elements reflows at different viewports.Stepped shape with rounded corners on the right, step height depending on the height of the elements on the left, whose height is given by their content and how it wraps at different viewports.Irregular shaped image with both convex & concave roundings. Shape depends on the dimensions and aspect ratio of other elements, how they scale/ wrap as the viewport changes.Three cards wrap around buttons of different sizes in the bottom right corner. All corners of the card shapes, whether convex or concave, are rounded.
Inautiloinautilo
2026-01-05


Keeping CSS Grid simple · What to do when CSS Grid feels complex ilo.im/169j11

_____

Ana Tudor 🐯anatudor
2026-01-04

Super simple 🦌 profile cards, content aligned with subgrid - all essential layout in just 6 declarations!

Check it out on @codepen codepen.io/thebabydino/pen/gbM

Demo screenshot with DevTools grid overlays on top.
Inautiloinautilo
2026-01-01
Inautiloinautilo
2026-01-01
Ana Tudor 🐯anatudor
2025-12-24

Fit an integer number of columns of a certain minimum width within parent, overflow the rest - live on @codepen codepen.io/thebabydino/pen/EaP

Details on technique in this public Ko-fi post ko-fi.com/Post/Fit-an-integer- - if this helps you in any way, please remember praise doesn't keep me afloat financially... but you can! And consider supporting my work by becoming a monthly supporter or with a one time tip.

Screenshot of various cases of linked demo. Shows the grid parent outlined in red while the grid items are outlined in teal. There is always an integer number of items that fit within the parent's content-box width. The rest, faded out, can be seen overflowing on the right side of the parent.
Inautiloinautilo
2025-12-20


Introducing CSS ‘grid-lanes’ · The future of masonry layouts on the web ilo.im/169b9q

_____

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst