Links

Should we NEVER use non-logical properties?
My take: yes, just use logical properties all the time. If you need an answer with zero nuance, there it is. You’ll be better off and make better websites for people if you just entirely switch as often as you can. There is some nuance, though, and plenty of pushback.
Designing for User Font-size and Zoom
When I tried setting my browser font-size preferences, I found it broke more sites than it improved, and I quickly moved back to the default. So what went wrong, and how can we fix it?
There’s no such thing as a CSS reset
Now, to be clear, I’m not suggesting some kind of long-running mass hallucination. I’m suggesting CSS resets don’t do what the name says. The word “reset” implies an objective default state that you’re restoring to, but the only objective default state is what browsers ship. You cannot “reset” browser styles by addition. Resets are inherently subjective, which means in practice, you are not so much resetting as you are defining default element styles for a website.
Anatomy of a Web Component
JavaScript bros would be shocked how far custom elements can take you at a fraction of the cost. But they’re too busy gaslighting themselves into believing a VC funded nightmare is essential. We know better!
Creating a scroll-spy with 2 lines of CSS
Did you know that there’s a new CSS feature that lets you very easily create trackable table of contents? This “scroll-spy” effect can be achieved with a new CSS property called
scroll-target-group
combined with the:target-current
pseudo class.
Videos

Quick & Easy Theme Transitions
I've somehow only now realized that if you want to transition between themes, view transitions make it incredibly easy... Translates like I did here are a bit over the top, but
clip-path
opens up some fun possibilities.
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.