https://github.com/neuekit/reboot
A modern approach to consistently styled elements.
https://github.com/neuekit/reboot
css reboot
Last synced: 12 months ago
JSON representation
A modern approach to consistently styled elements.
- Host: GitHub
- URL: https://github.com/neuekit/reboot
- Owner: neuekit
- Created: 2016-10-02T23:44:06.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-10-12T18:19:02.000Z (over 2 years ago)
- Last Synced: 2025-06-25T09:55:08.410Z (12 months ago)
- Topics: css, reboot
- Language: SCSS
- Size: 162 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

A modern approach to consistently styled elements! 🧑💻
## Hello 👋,

### M2 has dropped support for IE11 💪
This is the somewhat incredible readme for a little mashup of normalize, sanitize and opinion.
A reset in it's purest form is a way to level the browser playing field, attempting to ensure that each browser displays all standardised elements the same. Although that sounds fairly trivial, in practice it is quite time consuming and requries you to check every element in a variety of situations to ensure you haven't added strange issues.
The idea of course is to simplify the life of web folk not infuriate them with oddities. This reset is based on normalize which offers us that level playing field, it has then been carefully expanded and altered for more modern front-end best practices. For example we use `box-sizing: border-box;` in most cases, we also set `position: relative;` and switch off background repeat. These are micro wins and come from numerous discussions around the web, especially the sanitize.css issues section.
These opinionated changes are loosely set at the top level and inherited by children of `` and ``. This makes them easy to override and change in one place.
The sheet itself does trend toward being more specific at the end, which at the very least pleases me personally. ([See CSS Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity))
- - -
To fork the project and make changes so that you can help shape reboot simply do the following.
## Step 1:
Download the repo or open terminal, change to the directory where your projects are stored (`cd`) and run
`git clone https://github.com/neuekit/reboot.git`.
## Step 2:
This project uses npm and can be setup using either npm or yarn. Simply `cd` into the newly created directory and run
`$ npm install`
## Step 3:
After running one of the above commands the dependencies will install and it will start watching for changes to the scss file. To do this after install run either `$ npm run watch`
## Commands
To build the project manually run either `$ npm run build`
To watch for changes manually run either `$ npm run watch`
## Future
M3 (version 3) will shift to use the super low specificity pseudo selector `:where` and drop support for any browsers that do not support it (classic Edge, Safari 13 etc.)
**That's all! Feel free to scrutinise this repo and help improve it.**