mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Update demo.html and normalize.css from 'master' branch
This commit is contained in:
parent
599e5c6985
commit
3c1bb7310f
@ -39,6 +39,8 @@
|
||||
<h5>Heading 5</h5>
|
||||
<h6>Heading 6</h6>
|
||||
|
||||
<p hidden>This should be hidden in all browsers, apart from IE6</p>
|
||||
|
||||
<section>
|
||||
<h1>Section Heading 1</h1>
|
||||
<article>
|
||||
|
25
normalize.css
vendored
25
normalize.css
vendored
@ -1,7 +1,7 @@
|
||||
/*! normalize.css 2011-07-12T10:51 UTC · http://github.com/necolas/normalize.css */
|
||||
/*! normalize.css 2011-07-20T19:34 UTC · http://github.com/necolas/normalize.css */
|
||||
|
||||
/* =============================================================================
|
||||
HTML5 element display
|
||||
HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
@ -23,10 +23,9 @@ section {
|
||||
|
||||
/*
|
||||
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
||||
* Known limitation: IE6 will not apply style for 'audio[controls]'
|
||||
*/
|
||||
|
||||
audio[controls],
|
||||
audio,
|
||||
canvas,
|
||||
video {
|
||||
display: inline-block;
|
||||
@ -34,6 +33,24 @@ video {
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents modern browsers from displaying 'audio' without controls
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present IE6/7/8/9, FF3, S4
|
||||
* Ensures content is hidden from all presentations, including screenreaders
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Base
|
||||
|
Loading…
Reference in New Issue
Block a user