mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Add vertical-align:baseline to form elements
This commit is contained in:
parent
6ed1d6f7e5
commit
9f821f06e3
10
normalize.css
vendored
10
normalize.css
vendored
@ -13,7 +13,7 @@ header,
|
|||||||
hgroup,
|
hgroup,
|
||||||
nav,
|
nav,
|
||||||
section {
|
section {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -230,15 +230,21 @@ legend {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
* 1.
|
||||||
* Remove margin from form elements
|
* Remove margin from form elements
|
||||||
* Fixes margin displayed oddly in C10 S5
|
* Fixes margin displayed oddly in C10 S5
|
||||||
|
* 2.
|
||||||
|
* Define vertical-align for form elements
|
||||||
|
* Fixes alignment in IE and <textarea> alignment in FF3/4
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
button,
|
button,
|
||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
margin: 0;
|
margin: 0; /* 1 */
|
||||||
|
vertical-align: baseline; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user