Links
Adapting typography to user preferences with CSS
This blog post explores using CSS media queries with a variable font to tailor the reading experience even further. Font grade and weight can be customized with
font-variation-settings
, allowing microtuning given various preferences and contexts, like a preference for dark mode or high contrast. We can take these preferences and tailor a variable font for that user experience.
Things you forgot (or never knew) because of React
React was designed seven Taylor Swift albums ago, for a world where John Mayer and Jennifer Aniston were still dating.
A Blog Post With Every HTML Element
I could, element by element, continue to add support (mostly by making CSS updates for each element to fit in with the rest of my style choices) as I came across specific needs for them, but not one to shy away from an exhaustive exploration, I decided to write this post and attempt to use every element.
Can We Query the Root Container?
I spoke about Container Queries at both Smashing Conference (San Francisco) and CSS Day (Amsterdam) – where I recommended setting up a root container to replace most media queries. Since then, Temani Afif pointed out a few issues with that approach, and sent me down a rabbit hole of overlapping specs and browser bugs.
Offset parent and stacking context: positioning elements in all three dimensions
They are fundamental CSS concepts you use every single day whether you know it or not: the
offset parent
andstacking context
. In this article we'll explore how you can use them to position elements in all three dimensions, and how to debug them.
Videos
Modern CSS For Dynamic Component-Based Architecture
Unlock the potential of modern CSS development! Explore a modern project architecture that emphasizes theming, responsive layouts, and component design. Learn about features to improve code organization, and dig into layout techniques such as grid and container queries. Get inspired by real-world examples of context-aware components that use cutting-edge CSS techniques. After this informative session, you’ll be inspired to expand your CSS skills and ready to create scalable, future-friendly web projects.
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.