Selectors like `:root` and `:host` are used often when working with mixture of CSS-only and web components. So let's take a look at them and how they relate to HTML elements.
Yesterday's [post](https://www.sarahgebauer.com/post/day-4-root-host-and-the-body) was about `:host` and `:root`, today's post is about targeting elements with `:host-context`. At the moment it should be considered an experimental feature as only Chrome-based browsers support it.
Declarative Shadow DOMs: Bridging the Gap Between Components and Performance
tl;dr:
The Declarative Shadow DOM is a novelty in standardization which enables the server-side rendering of web components. This approach, in contrast to the traditional JS-based Shadow DOM, reduces client-side processing, improves load times, and offers SEO benefits by being part of the initial
Extending Responsive Video with HTML Web Components
Responsive HTML video is a web standard again, and with recent patches to Firefox (oh hey!) and Chrome that match Safari's preexisting support, it now works across all modern browsers! That means you can use media queries for delivering your videos and potentially save your users some precious bytes
Design Systems & Web Components: what works & what doesn’t
Nord is het design system van Nordhealth, een bedrijf dat software maakt voor de gezondheidszorg. Design system lead David Darnes vertelt je in deze sessie o...
Light-DOM-Only Web Components are Sweet – Frontend Masters Boost
First: the Light DOM is just… the regular DOM. When people talk about native Web Components, the Shadow DOM comes up a lot. I have extremely mixed feelings about the Shadow DOM. On one hand, it’s a powerful scoping tool. For example, CSS applied inside the Shadow DOM doesn’t “leak” outside, meaning you can be […]
🎉 Material web components 1.0 release · material-components/material-web · Discussion #5004
tl;dr MWC is 1.0 and ready to use in production! After a long journey, Material Web has launched its 1.0 set of web components using Google's latest Material 3 design system! Each component has...
Web Components (Part 1): Future-ready building blocks for your web applications
What are Web Components? Web Components are a technology-agnostic way of creating frontends based on web standards, that are built into our browsers. Many
As we've seen in the previous article of this blog post series, Web Components are a technology-agnostic way of building appealing web applications. In
In part two of this series, we learned how to use the browser's native Web Component APIs. In this third part, we'll take a look at the Lit library that
PatternFly Elements - A Performant Design System - DevConf.CZ 2023
Speaker(s): Benny PowersThe PatternFly design system brought visual consistency to apps across Red Hat and Beyond. When PatternFly v4 launched, it was a boon...