mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Update normalize and demo from master branch
This commit is contained in:
parent
e5bd07f71b
commit
f501de724d
@ -247,7 +247,7 @@
|
|||||||
|
|
||||||
<form>
|
<form>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Inputs as descendents of labels (form legend)</legend>
|
<legend>Inputs as descendents of labels (form legend). This doubles up as a long legend that can test word wrapping.</legend>
|
||||||
<p><label>Text input <input type="text" value="default value that goes on and on without stopping or punctuation"></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>
|
||||||
|
21
normalize.css
vendored
21
normalize.css
vendored
@ -1,4 +1,4 @@
|
|||||||
/*! normalize.css 2011-11-04T15:38 UTC - http://github.com/necolas/normalize.css */
|
/*! normalize.css 2012-01-17T16:33 UTC - http://github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
HTML5 display definitions
|
HTML5 display definitions
|
||||||
@ -315,12 +315,15 @@ fieldset {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* 1. Corrects color not being inherited in IE6/7/8/9
|
* 1. Corrects color not being inherited in IE6/7/8/9
|
||||||
* 2. Corrects alignment displayed oddly in IE6/7
|
* 2. Corrects text not wrapping in FF3
|
||||||
|
* 3. Corrects alignment displayed oddly in IE6/7
|
||||||
*/
|
*/
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
border: 0; /* 1 */
|
border: 0; /* 1 */
|
||||||
*margin-left: -7px; /* 2 */
|
padding: 0;
|
||||||
|
white-space: normal; /* 2 */
|
||||||
|
*margin-left: -7px; /* 3 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -367,12 +370,16 @@ input[type="submit"] {
|
|||||||
/*
|
/*
|
||||||
* 1. Addresses box sizing set to content-box in IE8/9
|
* 1. Addresses box sizing set to content-box in IE8/9
|
||||||
* 2. Removes excess padding in IE8/9
|
* 2. Removes excess padding in IE8/9
|
||||||
|
* 3. Removes excess padding in IE7
|
||||||
|
Known issue: excess padding remains in IE6
|
||||||
*/
|
*/
|
||||||
|
|
||||||
input[type="checkbox"],
|
input[type="checkbox"],
|
||||||
input[type="radio"] {
|
input[type="radio"] {
|
||||||
box-sizing: border-box; /* 1 */
|
box-sizing: border-box; /* 1 */
|
||||||
padding: 0; /* 2 */
|
padding: 0; /* 2 */
|
||||||
|
*height: 13px; /* 3 */
|
||||||
|
*width: 13px; /* 3 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -395,6 +402,14 @@ input[type="search"]::-webkit-search-decoration {
|
|||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Removes search cancel button in S5, Chrome on OS X
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="search"]::-webkit-search-cancel-button {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes inner padding and border in FF3+
|
* Removes inner padding and border in FF3+
|
||||||
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
||||||
|
Loading…
Reference in New Issue
Block a user