mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Fixed a small typo
This commit is contained in:
parent
9a50b1f04f
commit
558a902e09
@ -28,7 +28,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 `<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.
|
||||||
- A base `font-size: 16px` is declared on the `<html>` and `font-size: 1rem` on the `<body>` for easy responsive type-scaling via media queryies.
|
- A base `font-size: 16px` is declared on the `<html>` and `font-size: 1rem` on the `<body>` for easy responsive type-scaling via media queries.
|
||||||
- The `<body>` also sets a global `font-family` and `line-height`. This is inherited later by some form elements to prevent font inconsistencies.
|
- The `<body>` also sets a global `font-family` and `line-height`. This is inherited later by some form elements to prevent font inconsistencies.
|
||||||
- For safety, the `<body>` has a declared `background-color`, defaulting to `#fff`.
|
- For safety, the `<body>` has a declared `background-color`, defaulting to `#fff`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user