diff options
| author | Mark Otto <[email protected]> | 2017-09-09 17:39:56 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-09-09 17:39:56 -0700 |
| commit | 9cd634fb46c261f731709b0ab2728d2fc35b8ec4 (patch) | |
| tree | 5ca4a40b3154eda545d09a428d974b96c85bd64c /docs/4.0/content | |
| parent | 6df1f5338b38ee7d6675ae179b865d14ea099df6 (diff) | |
| parent | 1abafb36fed3842b050637fc6cedcad45480d8fb (diff) | |
| download | bootstrap-9cd634fb46c261f731709b0ab2728d2fc35b8ec4.tar.xz bootstrap-9cd634fb46c261f731709b0ab2728d2fc35b8ec4.zip | |
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
Diffstat (limited to 'docs/4.0/content')
| -rw-r--r-- | docs/4.0/content/reboot.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/content/reboot.md b/docs/4.0/content/reboot.md index 6fa38a381..f69d2519e 100644 --- a/docs/4.0/content/reboot.md +++ b/docs/4.0/content/reboot.md @@ -22,7 +22,7 @@ Here are our guidelines and reasons for choosing what to override in Reboot: The `<html>` and `<body>` elements are updated to provide better page-wide defaults. More specifically: -- The `box-sizing` is globally set on every element—including `*:before` and `*:after`, to `border-box`. This ensures that the declared width of element is never exceeded due to padding or border. +- The `box-sizing` is globally set on every element—including `*::before` and `*::after`, to `border-box`. This ensures that the declared width of element is never exceeded due to padding or border. - No base `font-size` is declared on the `<html>`, but `16px` is assumed (the browser default). `font-size: 1rem` is applied on the `<body>` for easy responsive type-scaling via media queries while respecting user preferences and ensuring a more accessible approach. - The `<body>` also sets a global `font-family`, `line-height`, and `text-align`. This is inherited later by some form elements to prevent font inconsistencies. - For safety, the `<body>` has a declared `background-color`, defaulting to `#fff`. |
