mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Update normalize.css and demo.html from master branch
This commit is contained in:
parent
7e939a1ca7
commit
34680acb33
@ -235,7 +235,7 @@
|
|||||||
<form>
|
<form>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Inputs as descendents of labels (form legend)</legend>
|
<legend>Inputs as descendents of labels (form legend)</legend>
|
||||||
<p><label>Text input <input type="text" value="default value"></label></p>
|
<p><label>Text input <input type="text" value="default value that goes on and on without stopping or punctuation"></label></p>
|
||||||
<p><label>Email input <input type="email"></label></p>
|
<p><label>Email input <input type="email"></label></p>
|
||||||
<p><label>Search input <input type="search"></label></p>
|
<p><label>Search input <input type="search"></label></p>
|
||||||
<p><label>Tel input <input type="tel"></label></p>
|
<p><label>Tel input <input type="tel"></label></p>
|
||||||
|
19
normalize.css
vendored
19
normalize.css
vendored
@ -1,4 +1,4 @@
|
|||||||
/*! normalize.css 2011-09-14T10:27 UTC - http://github.com/necolas/normalize.css */
|
/*! normalize.css 2011-09-22T17:42 UTC - http://github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
HTML5 display definitions
|
HTML5 display definitions
|
||||||
@ -340,29 +340,19 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 1. Addresses FF3/4 setting line-height using !important in the UA stylesheet
|
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
|
||||||
* 2. Corrects inner spacing displayed oddly in IE6/7
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
button,
|
button,
|
||||||
input {
|
input {
|
||||||
line-height: normal; /* 1 */
|
line-height: normal; /* 1 */
|
||||||
*overflow: visible; /* 2 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Corrects overlap and whitespace issue for buttons and inputs in IE6/7
|
|
||||||
* Known issue: reintroduces inner spacing
|
|
||||||
*/
|
|
||||||
|
|
||||||
table button,
|
|
||||||
table input {
|
|
||||||
*overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
||||||
* 2. Corrects inability to style clickable 'input' types in iOS
|
* 2. Corrects inability to style clickable 'input' types in iOS
|
||||||
|
* 3. Corrects inner spacing displayed oddly in IE7 without effecting normal text inputs
|
||||||
|
* Known issue: inner spacing remains in IE6
|
||||||
*/
|
*/
|
||||||
|
|
||||||
button,
|
button,
|
||||||
@ -371,6 +361,7 @@ input[type="reset"],
|
|||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
cursor: pointer; /* 1 */
|
cursor: pointer; /* 1 */
|
||||||
-webkit-appearance: button; /* 2 */
|
-webkit-appearance: button; /* 2 */
|
||||||
|
*overflow: visible; /* 3 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user