---
title: "How should we nest our CSS - officially?"
publication: "Frontend Focus"
issue: 552
published_at: "2022-07-27"
canonical_url: "https://frontendfoc.us/issues/552"
---

Plus an explainer on the :has pseudo class. |               

#​552 — July 27, 2022 | [Read on the web](https://frontendfoc.us/issues/552)       

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1658917726/s0mbkniydlbgenydsqga.png)](https://developer.chrome.com/blog/help-css-nesting/)  

❓ [Help Pick a Syntax for CSS Nesting](https://developer.chrome.com/blog/help-css-nesting/) — If you’ve used SCSS or Less then you’ll be familiar with the benefits of _nesting_ CSS selectors. An _official version_ of this idea is now being strongly considered, but there’s a split in preference between two competing approaches. Can _you_ help determine which should be championed through to a specification candidate? 

Adam Argyle & Miriam Suzanne (Google)   

[<`article`> and <`section`>: How To Choose the Right One](https://www.smashingmagazine.com/2022/07/article-section-elements-accessibility/) — Looks at how grouping content affects accessibility and shares a mental model to help you decide between the `<article>` and `<section>` elements when writing documents. 

Olushuyi Olutimilehin   [![\](https://copm.s3.amazonaws.com/8ae33fed.png)](https://stackoverflow.blog/podcast/?utm_source=FEFocus&utm_medium=newsletter&utm_campaign=editaudio) 

[Want to Dive Deeper into Stories of the Software Industry?](https://stackoverflow.blog/podcast/?utm_source=FEFocus&utm_medium=newsletter&utm_campaign=editaudio) — The Stack Overflow Podcast hosts conversations with fascinating guests about how technology is made and where it’s headed. It’s the best place to learn about what’s happening in the world of software development today. 

Stack Overflow sponsor   

['I Regret My $46k Website Redesign'](https://mtlynch.io/tinypilot-redesign/) — An engaging story walking through the unfortunate mistakes made when working with a design agency, plus some takeaway lessons to avoid making such missteps again. (Although, curiously, he thinks the redesign _did_ improve sales.) 

Michael Lynch   

[Hello: A Search Engine for Developers](https://beta.sayhello.so/) — An impressive new search engine that uses AI to solve challenging technical queries, with results sourced from various developer resources. It can even try and generate a code snippet ‘answer’ for you on-the-fly. 

Hello Cognition     

**⚡️ IN BRIEF**   

- Here's a look at the [new WebKit features](https://webkit.org/blog/13009/new-webkit-features-in-safari-15-6/) in version 15.6 of Safari.
- Matt from _A Better Computer_ [gives us a tour of new (in-beta) browser _Arc_](https://www.youtube.com/watch?v=fRiXbwYt4k0).
- Alexis Lours looks at [how the new iOS lockdown mode affects web performances and features](https://blog.alexi.sh/posts/2022/07/lockdown-jsc/).    

📙 **Tutorials, Articles & Opinion** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1658923798/vzaxjjep8n8poumpnajs.png)](https://www.youtube.com/watch?v=axkefJvfS9U)  

▶[Understanding CSS `:has()`](https://www.youtube.com/watch?v=axkefJvfS9U) — An 11-minute explainer video from Eric on the `:has()` pseudo class, showing its variety of uses and techniques. He [quipped on Twitter](https://twitter.com/meyerweb/status/1550613899547971584) that “I didn’t even scratch the paint on the surface of what’s possible. There is so much awesomeness ahead of us!” 

Eric Meyer   

[Priority Hints - What Your Browser Doesn’t Know (Yet)](https://www.etsy.com/codeascraft/priority-hints-what-your-browser-doesnt-know-yet) — Currently available in both Chrome and Edge, [Priority Hints](https://web.dev/priority-hints/) are a recent browser feature that give devs the option of signaling relative load-time priorities of significant page resources. Here’s a look at how online giant Etsy has gotten on with implementing the feature (_including a 4% decrease in Largest Contentful Paint_). 

David Ross (Etsy)   

[How to Make Your Multilingual Website Suitable for RTL with only HTML and CSS](https://www.voorhoede.nl/en/blog/how-to-multilingual-website-rtl-html-css/) — Making a multilingual website? Here are four knowledgeable things to make your website suitable for RTL and LTR languages with just HTML and CSS. 

Declan Rek   

[With `:focus-visible`, You Can Have Focus Styles When It Makes Sense](https://hidde.blog/focus-visible-more-than-keyboard/) — On why `:focus-visible` is more than a way to target keyboard users only. 

Hidde de Vries   

[The Frontend to Your Professional Network](https://www.polywork.com/product/software-engineers?utm_source=newsletter&utm_medium=cooperpress&utm_campaign=front1) 

Polywork sponsor   

[How to Build Seamless Masonry Layouts with CSS Grid and `object-fit:cover`](https://webdesign.tutsplus.com/tutorials/masonry-layouts-with-css-grid-and-object-fit-cover--cms-37989) 
George Martsoukos   

[Faster WordPress Rendering with Three Lines of Configuration](https://www.phpied.com/faster-wordpress-rendering-with-3-lines-of-configuration/) 
Stoyan Stefanov    

JOBS  

[Sr Frontend Developer For a VA.gov Team (Remote)](https://www.notion.so/Kind-Jobs-a9a393359d88400c9c8912f8d1436658) — Use React to improve Veterans’ access to healthcare & benefits at VA.gov. We work on meaningful problems with productive stacks. 
KIND SYSTEMS   

[Find Frontend Engineering Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-frontendfocus%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired    

🔧 **Code, Tools & Resources** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/iyt2ucq0kqfxqa3pruip.jpg)](https://flexbox.tech/)  

[Flexbox Playground: Interactively Explore Flexbox](https://flexbox.tech/) — Sometimes these kinds of learning tools are a bit complex to figure out, but this one has a simple UI for editing the various properties to help you either brush up on your flexbox skills or figure out an approach for your next design. 

two beards   

[Impress.js 2.0: Create Presentations with CSS and HTML](https://github.com/impress/impress.js/releases/tag/v2.0.0) — This popular ‘Prezi-like’ [presentation framework](http://impress.js.org/) makes clever use CSS transforms and transitions — and it just hit version 2.0. 

impress.js   

[Don’t Let Your Issue Tracker Be a Four-Letter Word. Use Shortcut](https://shortcut.com/?utm_source=cooperFRONTEND&utm_medium=spon_nl&utm_campaign=prospecting&utm_content=fourletter) — The best issue tracking software is one that software developers are actually happy to use. 

Shortcut (formerly Clubhouse.io) sponsor   

[Resource Hint Validator: A Tool To Check if Resource Hints Are Working Correctly](https://www.debugbear.com/resource-hint-validator) — This refers to HTML features like `dns-prefetch`, `preconnect`, `prefetch`, and so on. 

DebugBear   

[🎆 Fireworks.js 2.0: It's Literally Fireworks for Your Web Page](https://fireworks.js.org/) — In a _visual_ sense at least! The homepage has a neat demo where you can dynamically play around with all of the library’s parameters. 

Vitalij Ryndin   

[TanStack Table v8: Headless UI for Building Tables and Datagrids](https://tanstack.com/table/v8) — Handles the hard work of managing table/data grid elements, but lets you keep 100% control over markup and styles. 

Tanner Linsley   

[Atropos: Create Touch-Friendly 3D Parallax Hover Effects](https://atroposjs.com/) — Use with plain JS, React, or Vue and it’s easy to configure with no dependencies. The home page includes some quite striking examples that aren’t as over the top as you’d expect. 

Vladimir Kharlampidi    

✨ **QUICK RELEASES** 

[react-simple-maps 3.0](https://github.com/zcreativelabs/react-simple-maps) – Beautiful React SVG maps.
 [hls.js 1.2](https://github.com/video-dev/hls.js) – HTTP Live Streaming with support for MSE.
 [PixiJS 6.5.1](https://github.com/pixijs/pixijs) – Fast 2D graphics with WebGL.
 [CSS Doodle 0.29](https://github.com/css-doodle/css-doodle) – Web component for drawing patterns with CSS.
 [Sakura 1.4.1](https://github.com/oxalorg/sakura) – Minimal classless css framework/theme.
 [Chart.js 3.8.2](https://github.com/chartjs/Chart.js) – Simple Canvas-based charting.
 [Font-Awesome 6.1.2](https://github.com/FortAwesome/Font-Awesome) – The iconic SVG, font, and CSS toolkit.      

📬 

**Got a new email address?** You can [change your email here](https://frontendfoc.us/edit_subscription/*|UID|*). 

--- 

**Bored of us?** Click [here to stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll take a look. 

--- 

Published by Cooper Press Ltd.
Curated by [Chris Brandrick](https://twitter.com/chrisbrandrick) & [Peter Cooper](https://twitter.com/cooperx86).
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*)  

[Ipx.](https://frontendfoc.us/open/552/*|UID|*?ipx=t)
