Using linear() for better animation
linear()to specify a value for the CSS
animation-timing-functionproperty, or as an
Why we're bad at CSS
When many devs think of CSS they think of Peter Griffin trying to open window blinds. But for others CSS is more like putting their hand in the pain box from Dune while some product manager has a gom jabbar to their neck, daring them to pull their hand out.
I just did a test to apply as a front end developer – and things aren’t going well
This was nothing short of a mess. This was a frontend role. Why would Kubernetes and Docker be in there? …There was no question about HTML, structure of documents, semantics or interactivity of elements. There was nothing about performance, nothing about security, nothing about the DOM, nothing about CSS other than a hack we should not be using any longer.
Two Things That are Not Great About OKLCH
I’m still a fan of the OKLCH color model and CSS function. But there are a couple of things that are confusing or weak about it, and it’s probably fair to point those out clearly.
Semantics and the popover attribute: what to use when?
With the new
popoverattribute in HTML, we can put elements in the top layer and allow them to disappear with ‘light dismiss’. This attribute adds behaviour, not semantics: you're supposed to add your own when it makes sense. In this post, we'll look at different semantics that could make sense for your popover-behaved elements.
Thinking on ways to solve color palettes
In today's GUI Challenge, Adam Argyle builds a wide gamut color palette with okLCH, checking accessible color pairs along the way, inspecting color with devtools, and showing many other neat tricks for leveraging the features of this new web color space.
Sponsored by Cloud Four
Thanks to Cloud Four for sponsoring this week’s newsletter! 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.