1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

edit comments a bit

This commit is contained in:
Mark Otto 2015-04-16 17:15:29 -07:00
parent 585f857e71
commit 7001dece8a

View file

@ -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 // Reset the box-sizing
// //
// Heads up! This reset may cause conflicts with some third-party widgets. // Heads up! This reset may cause conflicts with some third-party widgets. For
// For recommendations on resolving such conflicts, see // recommendations on resolving such conflicts, see
// http://getbootstrap.com/getting-started/#third-box-sizing // http://getbootstrap.com/getting-started/#third-box-sizing.
//
// Credit: Jon Neal & CSS-Tricks // Credit: Jon Neal & CSS-Tricks
// http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ // http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
@ -24,15 +26,16 @@ html {
// Make viewport responsive // Make viewport responsive
// //
// @viewport is supposed to eventually replace <meta name="viewport">. It's manually prefixed for forward-compatibility. // @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/.
// @viewport is also needed because IE 10+ doesn't honor <meta name="viewport"> in some cases. // Eventually @viewport will replace <meta name="viewport">. It's been manually
// (See http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/) // prefixed for forward-compatibility.
// //
// However, `device-width` is broken on IE 10 on Windows (Phone) 8, // However, `device-width` is broken on IE 10 on Windows (Phone) 8,
// (see http://timkadlec.com/2013/01/windows-phone-8-and-device-width/ // (see http://timkadlec.com/2013/01/windows-phone-8-and-device-width/ and https://github.com/twbs/bootstrap/issues/10497)
// and https://github.com/twbs/bootstrap/issues/10497) // and the fix for that involves a snippet of JavaScript to sniff the user agent
// and the fix for that involves a snippet of JavaScript to sniff the user agent and apply some conditional CSS. // and apply some conditional CSS.
//
// See http://getbootstrap.com/getting-started/#support-ie10-width for the relevant hack. // See http://getbootstrap.com/getting-started/#support-ie10-width for the relevant hack.
@-moz-viewport { width: device-width; } @-moz-viewport { width: device-width; }