baseline.css
Just another CSS reset, normalization, and optimization library.
Install
Download baseline.css directly or install via NPM:
npm install @ryanmorr/baseline.css
Features
A mixture of both opinionated and unopinionated normalizations and resets to create a consistent baseline for any project. Some of the features include:
- Many of the normalizations from normalize.css and sanitize.css
- Resets the box model to
border-box
- Removes the margin, padding, and border of all elements
- Remove the focus outline for mouse/pointer based interactions
- Improves consistency of default fonts
- Sets a consistent and sensible line height
- Enables percentage-based heights
- Removes transitions and animations when the user prefers reduced motion
- Removes list styles
- Images and other media elements are responsive by default
- Removes the default styling of form elements
- Accessibility helpers
License
This project is dedicated to the public domain as described by the Unlicense.