diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-02-17 14:18:13 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-02-17 14:18:13 +0000 |
| commit | 9bb9e645808bb8adcd3179bb688c3d70755a62fd (patch) | |
| tree | 14b93431e6f41d75d0edcbf6c1f8eb8e9da137e9 /README.md | |
| parent | af2f17fafbfd632ebd107ecb544b6ec7dea2a665 (diff) | |
Support attributes in HTML paths in style mappings
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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`: ``` |
