aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-02-17 14:18:13 +0000
committerMichael Williamson <mike@zwobble.org>2024-02-17 14:18:13 +0000
commit9bb9e645808bb8adcd3179bb688c3d70755a62fd (patch)
tree14b93431e6f41d75d0edcbf6c1f8eb8e9da137e9 /README.md
parentaf2f17fafbfd632ebd107ecb544b6ec7dea2a665 (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 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`:
```