Skip to content

Commit 363e125

Browse files
committed
[css-extensions] Write a simple example in the block syntax.
1 parent 5367c02 commit 363e125

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-extensions/Overview.bs

+10
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ Extension Names</h2>
5858
in the above definitions.
5959

6060
<div class='issue'>
61+
Simple things are easy:
62+
63+
<pre>
64+
@custom-selector :--heading {
65+
expansion: h1, h2, h3, h4, h5, h6;
66+
}
67+
</pre>
68+
69+
More complicated things are possible:
70+
6171
<pre>
6272
// Arguments are specified with $foo.
6373
// An arg before the pseudo-class captures the rest of the compound selector.

0 commit comments

Comments
 (0)