From 9bb9e645808bb8adcd3179bb688c3d70755a62fd Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 17 Feb 2024 14:18:13 +0000 Subject: Support attributes in HTML paths in style mappings --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 7097a1b..05d8c0e 100644 --- a/README.md +++ b/README.md @@ -487,6 +487,12 @@ append a dot followed by the name of the class: h1.section-title ``` +To add an attribute, use square brackets similarly to a CSS attribute selector: + +``` +p[lang='fr'] +``` + To require that an element is fresh, use `:fresh`: ``` -- cgit v1.2.3