Links
Progressively Enhanced Form Validation, Part 2: Layering in JavaScript
In Part 1 of this series, we learned about the browser’s built-in HTML and CSS form validation features and how to use them to create a solid (but not very accessible) foundation. This article takes that baseline experience and progressively enhances it by layering in ARIA attributes, JavaScript, and the Constraint Validation API.
On-Scroll Column & Row Animations
So, the idea is to animate the items of a column or row in a specific way when we scroll, using translations, scales or even 3D rotations. Hopefully this will spark your imagination on what’s possible and what else could be done.
OKLCH in CSS: Consistent, accessible color palettes
CSS offers several color functions, but many are difficult to use or create inconsistent results. In this article, we’ll explore a newer CSS color model,
oklch()
, designed to offer an intuitive and consistent way to create colors for the web.
Four new CSS features for smooth entry and exit animations
Holy cow, they're going to let us animate to and from display:none
!
- The ability to animate
display
andcontent-visibility
on a keyframe timeline. 2. Thetransition-behavior
property with theallow-discrete
keyword to enable transitions of discrete properties likedisplay
. 3. The@starting-style
rule to animate entry effects fromdisplay: none
and into the top-layer. 4. Theoverlay
property to control top-layer behavior during an animation.
Tailwind, and the death of web craftsmanship
Tailwind is a symptom of what I feel to be a larger problem in development. There's been a rapid deterioration in pride-of-craftsmanship in development. It's naive to believe that "back in the old day" everyone wrote everything with a perfect eye towards beautiful craftsmanship… but there was definitely more interest in "doing it right" rather than dismissing it as a problem that wasn't worth solving.
Videos
My journey to learning CSS
A lot of people ask me how they can be as good at CSS as I am, so I figured I’d share my story with you, even though my actual path might not be the best to follow, I have learned a few things along the way that might help.
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.