prestyle v0.1.6
prestyle
Hyper realistic default browser styling for a new era of web application developments
Tools like
normalize.css
corrects browser bugs while carefully testing and documenting changes according to CSS specifications; Eric Meyer'sreset.css
just unstyles all elements. Meanwhile there are so many other solutions well tested and documented by the community that suits most of common developer expectations and preferences, which is awesome.
Note: This sheet is based on my personal preferences.
Overview
- Inspired by — and initially forked from — the popular
normalize.css
- Default styling for a wide range of HTML elements independently of the target device browser (~latest preference)
- Implements the universal
box-sizing: border-box
- Sets some hipster declarations like
font-smooth
andtext-rendering
properties as well as increments consistency of default fonts - Hacks the retrofuture for an old utterly awe-inspiring era without browser inconsistencies 🌌
Browser Support
- IE10+ and other common modern browsers
If you are using this package build tools and need more precision, specify the target browsers you need to support in package.json according to browserslist docs.
Installation
npm
npm install --save prestyle
Download
- Source: prestyle.sass
- Ready-to-use: prestyle.min.css
Usage
#1: Import into your Sass project
@import 'node_modules/prestyle/prestyle'
#2: Hot-link the bundled CSS files
<link rel="stylesheet" href="/path/to/prestyle.min.css">
Build Setup
- WIP - gulp bundle
Contributing
Howdy! Feel free to dive in, your thoughts and ideas are always very welcome. If you don't know how to start, this is just a suggestion about how to make contributions:
- Fork this project to your account
- Create a new branch for the change you intend to make
- Make the changes to your fork
- Send a pull request from your fork’s branch to our
master
branch
Mentions
- Nicolas Gallagher (@necolas) for
normalize.css
- Paul Irish (@paul_irish) because he doesn't care about attribution
- Old-school Eric Meyer's (@meyerweb) Reset CSS
- The css engineering ✨
And special thanks to all the contributors who have helped provide their code to this project and those mentioned above.
License
This is free software licensed under the Creative Commons Zero (CC0 1.0 Universal) license; you can redistribute it and/or modify it remaining free for personal and commercial use. Also, attribution is not required.
The person(s) who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.
You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights.
Unless expressly stated otherwise, the person(s) who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law.
When using or citing the work, you should not imply endorsement by the author or the affirmer.
This is a human-readable summary of the Legal Code (full text here).