Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cassiozen/base.css
It's not huge and bloated. Not normalize nor reset, just a basic set of rules to make modern browsers behave.
https://github.com/cassiozen/base.css
Last synced: about 2 months ago
JSON representation
It's not huge and bloated. Not normalize nor reset, just a basic set of rules to make modern browsers behave.
- Host: GitHub
- URL: https://github.com/cassiozen/base.css
- Owner: cassiozen
- License: mit
- Created: 2015-09-01T17:23:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-04T01:37:20.000Z (over 9 years ago)
- Last Synced: 2024-10-27T19:44:56.787Z (about 2 months ago)
- Language: CSS
- Size: 193 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# base.css
It's not huge and bloated. Not normalize nor reset, just a basic set of rules to make modern browsers behave.### How is Base.css different?
The common objective for projects like base.css, normalize and reset is to achieve consistency across browsers.
Normalize does this by taking in consideration what should be considered the standart 'look and behaviour' of a given element and fixing the browsers where it acts differently.
It was born as an alternative to reset.css, which simply stripped many html elements default styling (with the same objective: achieve consistency through browsers)Base.css is different in three ways: It only targets modern browsers (IE 10+) and it does a little of both: Normalizing and resetting behaviour. It normalizes what is considered de facto behaviours that we rely and some browsers screw (like IE not resizing a button with a big text inside it - all other browsers does this). For elements that usually tend to have its defaults overwritten on new projects (like heading styles, for example), base.css simply applies a reset (which have a smaller footprint).
Finally, base.css applies the box-sizing property to make building CSS layouts easier and a lot more intuitive. It's such a boon for developers that there's even an International Box-Sizing Awareness Day in February ;)### Install
* [npm](http://npmjs.org/): `npm install --save base-css`
* [Download](https://github.com/cassiozen/base.css/zipball/master).