mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
edit comments a bit
This commit is contained in:
parent
585f857e71
commit
7001dece8a
@ -1,13 +1,15 @@
|
||||
// Reboot
|
||||
//
|
||||
// Scaffolding
|
||||
// --------------------------------------------------
|
||||
// Global resets to common HTML elements and more for easier usage by Bootstrap.
|
||||
// Builds on the resets of Normalize.css.
|
||||
|
||||
|
||||
// Reset the box-sizing
|
||||
//
|
||||
// Heads up! This reset may cause conflicts with some third-party widgets.
|
||||
// For recommendations on resolving such conflicts, see
|
||||
// http://getbootstrap.com/getting-started/#third-box-sizing
|
||||
// Heads up! This reset may cause conflicts with some third-party widgets. For
|
||||
// recommendations on resolving such conflicts, see
|
||||
// http://getbootstrap.com/getting-started/#third-box-sizing.
|
||||
//
|
||||
// Credit: Jon Neal & CSS-Tricks
|
||||
// http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
|
||||
|
||||
@ -24,15 +26,16 @@ html {
|
||||
|
||||
// Make viewport responsive
|
||||
//
|
||||
// @viewport is supposed to eventually replace <meta name="viewport">. It's manually prefixed for forward-compatibility.
|
||||
//
|
||||
// @viewport is also needed because IE 10+ doesn't honor <meta name="viewport"> in some cases.
|
||||
// (See http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/)
|
||||
// @viewport is needed because IE 10+ doesn't honor <meta name="viewport"> in
|
||||
// some cases. See http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/.
|
||||
// Eventually @viewport will replace <meta name="viewport">. It's been manually
|
||||
// prefixed for forward-compatibility.
|
||||
//
|
||||
// However, `device-width` is broken on IE 10 on Windows (Phone) 8,
|
||||
// (see http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
|
||||
// and https://github.com/twbs/bootstrap/issues/10497)
|
||||
// and the fix for that involves a snippet of JavaScript to sniff the user agent and apply some conditional CSS.
|
||||
// (see http://timkadlec.com/2013/01/windows-phone-8-and-device-width/ and https://github.com/twbs/bootstrap/issues/10497)
|
||||
// and the fix for that involves a snippet of JavaScript to sniff the user agent
|
||||
// and apply some conditional CSS.
|
||||
//
|
||||
// See http://getbootstrap.com/getting-started/#support-ie10-width for the relevant hack.
|
||||
|
||||
@-moz-viewport { width: device-width; }
|
||||
|
Loading…
Reference in New Issue
Block a user