From fe41ddbc51b4b7c6ce7d958ea7622983d7805b7e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 17 Feb 2024 13:52:16 +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 f058aeb..2e501e2 100644 --- a/README.md +++ b/README.md @@ -649,6 +649,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