Jacob Berglund retweeted
Looking for examples of how much you can push CSS :has()? ✨
tr:has(:checked) ~ tr:has(:hover)
.cell:has(~ .cell:hover)
Grab the table cells in a row before the cell that is hovered in a row that comes after a row that has a checked cell 🫠
Jacob Berglund retweeted
🧑🚀⭐ Calling all aspiring astronauts—Astro 3.0 touches down next week. We're giving away 10 of these official Astro hats to celebrate!
Retweet for your chance to win.
Jacob Berglund retweeted
🚀 Pop pop! Framer Motion 7.2 introduces the "popLayout" mode to AnimatePresence.
In this mode, exiting elements will be popped from the page layout, allowing surrounding elements to animate into place immediately.
Sandbox: codesandbox.io/s/framer-moti…
Docs: framer.com/docs/animate-pres…
Jacob Berglund retweeted
Performance tip: try the `decoding` attribute for images to allow decoding to be async and not block the main thread, allowing your content to display faster
Feels like we are just getting started on how grid can help simplify the less glamorous parts of writing CSS.
In this example, 3 lines replaces 2 selectors.
Inget engagerar så mycket som böjningar här på @variant_as! 🔥🤓
1
Jacob Berglund retweeted
Although not a designer, I’ve become increasingly aware of the recent homogeneity of web design. I got into the web during the golden era of Zen Garden, CSS gallery sites, and self-expression, and that’s become rare nowadays.
This.
🏔 The Great Divide ⛰
css-tricks.com/the-great-div…
There is a strongly-felt separation between Javascript-focused developers and front-end developers focused elsewhere. These are observations from me and the wider community.



![img { max-width: 100%; /* [1] */ height: auto; /* [1] */ vertical-align: middle; /* [2] */ font-style: italic; /* [3] */ background-repeat: no-repeat; /* [4] */ background-size: cover; /* [4] */ shape-margin: 0.75rem; /* [5] */ }](https://pbs.twimg.com/media/F9bvvn-WwAAPwS7.jpg?name=small&format=webp)



















