Reboot, a collection of element-specific CSS changes in a single file. Bootstrap to provide an elegant, consistent, and simple baseline to build upon.
Bootstrap Reboot Approach
Here are our guidelines and reasons for choosing what to override in Reboot:
Update some browser default values to use rems instead of ems for scalable component spacing.
Avoid margin-top. Vertical margins can collapse, yielding unexpected results. More importantly though, a single direction of margin is a simpler mental model.
For easier scaling across device sizes, block elements should use rems for margins.
Keep declarations of font-related properties to a minimum, using inherit whenever possible.
Bootstrap Horizontal Rules
The <hr> element has been simplified. Similar to browser defaults, <hr>s are styled via border-top, have a default opacity: .25, and automatically inherit their border-color via color, including when color is set via the parent.
Sample Code
Output
Bootstrap Inline code
Bootstrap inline code refers to the use of the code element in Bootstrap to display a short piece of code or programming language syntax inline with text.
The code element is used to indicate that the enclosed text is code, and is typically styled in a monospace font to distinguish it from the surrounding text.
Sample Code
Output
Bootstrap Code blocks
<pre>s for multiple lines of code. The <pre> element is reset to remove its margin-top and use rem units for its margin-bottom.
Sample Code
Output
Bootstrap Variables
Variables use the <var> tag.
Sample Code
Output
Bootstrap User input
Use the <kbd> to indicate input that is typically entered via keyboard.
Sample Code
Output
Bootstrap Tables
An extended table to the integration with some of the most widely used CSS frameworks. It Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation
Sample Code
Output
Bootstrap Forms
<fieldset>s have no borders, padding, or margin so they can be easily used as wrappers for individual inputs or groups of inputs.
<legend>s, like fieldsets, have also been restyled to be displayed as a heading of sorts.
<label>s are set to display: inline-block to allow margin to be applied.
<input>s, <select>s, <textarea>s, and <button>s are mostly addressed by Normalize, but Reboot removes their margin and sets line-height: inherit, too.
<textarea>s are modified to only be resizable vertically as horizontal resizing often “breaks” page layout.
<button>s and <input> button elements have cursor:
Sample Code
Output
Bootstrap Pointers on Buttons
Reboot includes an enhancement for role="button" to change the default cursor to pointer. Add this attribute to elements to help indicate elements are interactive. This role isn’t necessary for <button> elements, which get their own cursor change.
Sample Code
Output
Bootstrap Address
The <address> element is updated to reset the browser default font-style from italic to normal.
line-height is also now inherited, and margin-bottom: 1rem has been added. <address>s is for presenting contact information for the nearest ancestor
Sample Code
Output
Bootstrap Headings and paragraphs
All heading elements—e.g., <h1>—and <p> are reset to have their margin-top removed. Headings have margin-bottom: .5rem added and paragraphs margin-bottom: 1rem for easy spacing.