aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-02-17 13:36:21 +0000
committerMichael Williamson <mike@zwobble.org>2024-02-17 13:36:21 +0000
commit2ab691683d81b1481f68d19295f6ba86f02fdd3a (patch)
treed903cda7ea366883a727eb521eecb02a9587a873 /README.md
parent318145ae7e4cdc02e418f25032159fa40cd47a19 (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 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`:
```