Reseter.css - A Futuristic Alternative To Normalize.css And CSS Resets
box-sizing: border-box
setThere are many inconsistencies between browsers. Like Firefox 3 has a margin on top of paragraphs but Internet Explorer 7 doesnβt have any margin. There are thousands of browsers with hundreds of versions. Each version at least has 500+ inconsistencies with different browsersβ different versions. How to keep up? This is an easy to use solution called Gardevoir
Feature | Gardevoir | Normalize.css | Sanitize.css | Reset.css |
---|---|---|---|---|
Normalizations | β | β | β | β |
Basic elemental styles | β | Partial | β | β |
Size (by bundle phobia) | Compile with Sass | |||
Minified version | Compile with Sass | β (Minify yourself) | β(Minify yourself) | β(Minify yourself) |
Box sizing | β | β | β | β |
Browser support | Customizable | Last 3 versions | Last 3 versions | Unknown |
Create A HTML File
<!DOCTYPE html>
<html>
<head>
<title>Gardevoir Quick Start</title>
</head>
<body>
<h1>Gardevoir Quick Start</h1>
<p>
Hey fella! Don't forget to change the title text an remove this
paragraph and the heading
</p>
</body>
</html>
Call Gardevoir
<!-- To be placed in the head tag -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gardevoir" />
Star this repository, if you like the project! It means a lot to the development team, Those stars a boosting happiness for our team
How about reading a guide for best performance? Hereβs the link to optimizing Gardevoir for production
Lastly you can view our wiki for best practices and performance guides
π₯³ All Set Now
There are various ways to install Gardevoir. Like package managers, content delivery networks, local copiesβ¦
npm install gardevoir
yarn add gardevoir
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gardevoir" />
Gardevoir as said, is a zero-dependency project and excels in integrating with all kinds of usage options! These are a few easy guides for people to start
<head>
<link rel="stylesheet" type="text/css" href="path/to/gardevoir.min.css" />
<link
rel="stylesheet"
type="text/css"
href="path/to/your-custom-stylesheet.css"
/>
</head>
Warning!
Make Sure To Link Your Custom Stylesheet After Gardevoir Else Your Custom Styles Might Not Be Implemented
Note all of these guidelines are for static websites, frameworks like react have their own guide (please refer them)
Never import Gardevoir via css, though this a option, it is not recommended for website loading, rather use html link tags
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gardevoir" />
Use this easy loading trick to make your life a lot easier
<link
rel="preload"
as="style"
href="https://cdn.jsdelivr.net/npm/gardevoir"
onload="this.rel='stylesheet';this.onload=null"
/>
<noscript>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gardevoir" />
</noscript>