We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0ae9a5 commit dc8253bCopy full SHA for dc8253b
1 file changed
selectors/Overview.src.html
@@ -1949,6 +1949,15 @@ <h3 id="enableddisabled">
1949
<code>display</code> and <code>visibility</code> properties have no effect
1950
on the enabled/disabled state of an element.
1951
1952
+<h3 id="placeholder">
1953
+The placeholder-shown pseudo-class <code>:placeholder-shown</code></h3>
1954
+
1955
+ <p>Input elements can sometimes show placeholder text
1956
+ as a hint to the user on what to type in.
1957
+ See, for example, the <code>placeholder</code> attribute in [[HTML5]].
1958
+ The <dfn id="placeholder-shown-pseudo">:placeholder-shown</dfn> pseudo-class
1959
+ matches an input element that is showing such placeholder text.
1960
1961
<h3 id="checked">
1962
The selected-option pseudo-class <code>:checked</code></h3>
1963
0 commit comments