blob: a557f1091ec29dd90cd4290cf96ac4752b04ff3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<!doctype html>
<title>CSS Test: ::placeholder applies to input type="number"</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="mismatch" href="placeholder-input-number-notref.html">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#placeholder-pseudo">
<style>
#number::placeholder {
color: green;
}
</style>
<input id="number" type="number" placeholder="Placeholder">
|