Skip to content

Commit 65bd6a4

Browse files
committed
[css-conditional-4][editorial] Add an example
1 parent 499a88f commit 65bd6a4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

css-conditional-4/Overview.bs

+15
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,21 @@ Extensions to the ''@supports'' rule</h2>
6363
js/CSS-supports-L4.html
6464
</wpt>
6565

66+
<div class="example" id="ex-selector">
67+
This example tests whether the
68+
<a>column combinator</a> (||)
69+
is supported in selectors,
70+
and if so uses it to style particular cells in a table.
71+
72+
<pre class="lang-css">
73+
@supports selector(col || td) {
74+
col.selected || td {
75+
background: tan;
76+
}
77+
}
78+
</pre>
79+
</div>
80+
6681
<h3 id="support-definition-ext">
6782
Extensions to the definition of support</h3>
6883

0 commit comments

Comments
 (0)