mirror of
https://github.com/pure-css/pure
synced 2025-03-13 06:24:28 +01:00
Reduce padding/add room on color input for Chrome (v32/34 OS X).
This commit is contained in:
parent
49f78812dc
commit
b6076530b4
@ -26,6 +26,12 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Chrome (as of v.32/34 on OS X) needs additional room for color to display. */
|
||||
/* May be able to remove this tweak as color inputs become more standardized across browsers. */
|
||||
.pure-form input[type="color"] {
|
||||
padding: 0.2em 0.5em;
|
||||
}
|
||||
|
||||
.pure-form input:not([type]):focus,
|
||||
.pure-form input[type="text"]:focus,
|
||||
.pure-form input[type="password"]:focus,
|
||||
|
@ -106,6 +106,9 @@
|
||||
<option>NY</option>
|
||||
</select>
|
||||
|
||||
<label>Color</label>
|
||||
<input type="color">
|
||||
|
||||
<label class="pure-checkbox">
|
||||
<input type="checkbox"> I've read the terms and conditions
|
||||
</label>
|
||||
|
Loading…
x
Reference in New Issue
Block a user