From 2ab691683d81b1481f68d19295f6ba86f02fdd3a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 17 Feb 2024 13:36:21 +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 b167336..7144c72 100644 --- a/README.md +++ b/README.md @@ -805,6 +805,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