Links
Position-Driven Styles
After solving the fit-to-width text, stuck state for sticky elements, and scroll shadows, I wondered: how many other items from various CSS wishlists could I solve with scroll-driven animations? A lot. Styling flex and grid rows and columns, staggered animations, wrap detection, and more — all in my new article.
Animating Slack reminders with the View Transitions API
Animation can help inform user about changes in your app. And the View Transitions API makes adding animations easier than ever.
Faking a :snapped selector with Scroll-Driven Animations
Scroll-Driven Animations can be used for more than driving an animation by scroll. In this post, I share how you can use Scroll-Driven Animations to fake a
:snapped
selector – a fictitious selector that matches elements that are currently snapped within their scroll-snapping enabled ancestor scroller.
Future CSS: State Container Queries
In my 2023 CSS wishlist, one of the things was getting a way to check if an element is stuck, meaning that
position: sticky
is active. I got so much excitement when I knew that the Chrome team is experimenting with it!
JavaScript Gom Jabbar
You have been using JavaScript for 10 years. It’s time for your test. You are sitting in front of a computer. The test is simple: you have to open a package.json file and read it. The
package.json
is full of pain. You have to read it all.
Videos
Why Doesn't CSS Have Scope?
People talk a lot about how CSS “isn’t scoped” and that this is a problem somehow. But what do they mean? Isn’t apportioning scope to style what CSS is for? This session will ask whether “global” CSS is such a bad thing, if stylesheets themselves are really a good thing, if we really need to rely on a framework developed at a genocide fomenting social media company to add scope to CSS, and what we can learn about CSS from the critical reception of Swedish death metal band Entombed’s 1996 album, “To Ride, Shoot Straight, and Speak The Truth”.
Sponsor
Sponsored by Cloud Four
Thanks to Cloud Four for sponsoring this week’s newsletter! They solve complex responsive web design and development challenges for ecommerce, healthcare, fashion, B2B, SaaS, and nonprofit organizations.
If you’d like to help with the costs of running Friday Front-End, you can back our Patreon for as little as a dollar a month.