Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
7001dece
Commit
7001dece
authored
Apr 16, 2015
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit comments a bit
parent
585f857e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
scss/_reboot.scss
scss/_reboot.scss
+15
-12
No files found.
scss/_reboot.scss
View file @
7001dece
// 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 {
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment