@scope – New in Chrome 118

@scope – New in Chrome 118

With @scope you can override styles based on proximity, which is different from the usual CSS styles that are applied relying only on source order and specificity. In the following example, there are two themes.

#NewInChrome