The CSS `clamp()` function is often paired with viewport units for “fluid” font sizing that scales the text up and down at different viewport sizes. As common as this technique is, several voices warn that it opens up situations where text can fail WCAG Success Criterion 1.4.4, which specifies that text should scale up to at least 200% when the user’s browser reaches its 500% maximum zoom level. Max Barvian takes a deep look at the issue and offers ideas to help address it.
CSS is evolving faster than ever. With all of the new features that are now available and forthcoming since we got Flexbox and Grid years ago, the way we write CSS is evolving, too. In this article, Geoff Graham shares which features have had the most influence on his current approaches to CSS, as well as those that have not (at least yet).
The Staggering Frontiers of CSS buttondown.email - get the latest breaking news, showbiz & celebrity photos, sport news & rumours, viral videos and top stories from buttondown.email Daily Mail and Mail on Sunday newspapers.
makeuseof.com - get the latest breaking news, showbiz & celebrity photos, sport news & rumours, viral videos and top stories from makeuseof.com Daily Mail and Mail on Sunday newspapers.