summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-02-17 13:52:16 +0000
committerMichael Williamson <mike@zwobble.org>2024-02-17 13:52:16 +0000
commitfe41ddbc51b4b7c6ce7d958ea7622983d7805b7e (patch)
tree6a477e4a54657b5b89b87141ed85f088c2f03015 /README.md
parentd037ef5cf7fc976047bed20859dbcd5c90f45d67 (diff)
Support attributes in HTML paths in style mappings
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
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`:
```