🤓
Benefits
- No need to start from scratch. Reseter.css doesn't remove all the browser styles, but instead redefines the useful ones
- Never switch technologies.
sass
,less
,scss
,stylus
, andstyled-components
support available. - Never find yourself fixing browser issues. Includes browser fixes for a wide range of browsers.
- No need debugging load time for Reseter.css. It's sized ~0.7kb. Moreover, we are consistently trying to reduce it.
- Get all the benefits of normalize.css. It includes all normalizations!
- Get a better box sizing for a better experience.
box-sing: border-box
set - Completely production ready code with browser support testing and source build ci
❓
Why do I use a css reset
There 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 reseter.css
🆚
There are other resets, why reseter.css?
Feature | Reseter.css | Normalize.css | Sanitize.css | Reset.css |
---|---|---|---|---|
Normalizations |
|
|
|
|
Basic elemental styles |
|
Partial |
|
|
Size (by bundle phobia) | ||||
Minified version |
|
|
|
|
GZIP version |
|
|
|
|
Box sizing |
|
|
|
|
Browser support | Customizable | Last 3 versions | Last 3 versions | Unknown |
🚀
Get It Running Quick
-
You can find some templates for a faster experience in the templates section down below
-
Create A HTML File
<!DOCTYPE html> <html> <head> <title>Reseter.css Quick Start</title> </head> <body> <h1>Reseter.css 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 Reseter.css
<!-- To be placed in the head tag --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reseter.css" />
-
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 reseter.css for production
-
Lastly you can view our wiki for best practices and performance guides
-
🥳 All Set Now
📚
Quick Templates
-
More soon...
🌟
Installation
There are various ways to install reseter.css. Like package managers, content delivery networks, local copies...
📦
Package Managers
💝
NPM 
npm install reseter.css
🐱
Yarn 
yarn add reseter.css
⚡
CDN 
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reseter.css" />
✨
Usage
Reseter.css 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/reseter.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 Reseter.css Else Your Custom Styles Might Not Be Implemented
✨
More
🚅
Optimize
Note all of these guidelines are for static websites, frameworks like react have their own guide (please refer them)
-
Never import reseter.css 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/reseter.css">
-
Use this easy loading trick to make your life a lot easier
<link rel="preload" as="style" href="https://cdn.jsdelivr.net/npm/reseter.css" onload="this.rel='stylesheet';this.onload=null"> <noscript> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reseter.css"> </noscript>
-
Find more at our wiki
📞
We're Ready To Support
- Discord server (Coming Soon)
- GitHub discussions
- Stack overflow
- Bug handler
⌚
Road Map
-
Comment Blocks In The Sources
-
Long Documentation
-
Guide
All of these items are moved to the Benefits section once done
Request: Support Old Tags
Is your feature request related to a problem? Please describe. Support tags like
acronym
Describe the solution you'd like Use
abbr, acronym
instead ofabbr
.font-family for pre/code
FYI, using the following, from my own list, and integrated the one in the repository.
The developer fonts above represent some of the more common fonts, all of which will render/display better than the default which is often a Courier derivative. The above fonts list are all sans-serif developer fonts with an aesthetic which will at least be closer to the default font family.
Reason on the ordering...
Fira Code
- the most complete font in terms of fixed width with width-proper emojii support.Cascadia Code
- Windows (newer)Consolas
- Windows (common)Inconsolata
- Consolas look-alike, open-source.Droid Sans Mono
- AndroidMonaco
- MacOSMenlo
- iOSUpdate reseter.css
Thank you for contributing! Please confirm this pull request meets the following requirements:
Which change are you proposing?
My PR Meets The Following Criterias:
px
values please convert them torem
for responsiveness)yarn *:build
I've added the following sources:
Docs: Reseter.css Web Site Display Bug
Describe the bug Under the Tweet and GitHub star buttons display bug
To Reproduce Steps to reproduce the behavior:
Expected behavior Not display bug
Screenshots

Desktop (please complete the following information):
Additional context Is it a bug specific to GitHub Pages?
[Feat]: paragraph spacing
Detailed Description
Don't have time for a PR at the moment, appended to my local copy, but probably a good idea to add..
Contributing
Code of Conduct
Anything else?
No response
Word Break inconsistency between Chrome and Firefox
Is your feature request related to a problem? Please describe. Chrome doesn't wrap its links at all while Firefox does. Chrome uses a different default value for word-break then Firefox as after adding word-break: break-word; on its links it behaved the same way as Firefox did. I also saw that similar questions have come up before and they were put aside because of "unexpected behaviors", but this seems like a special case as it to only happens with the tag so it could be an exception.
Describe the solution you'd like
Additional context Originally Opened By @Gaboris at necolas/normalize.css#851 Plus, Original Solution By @VixieTSQ in necolas/normalize.css#852
docs: add krishdevdb as a contributor
Adds @krishdevdb as a contributor for blog, content, doc, design, example, ideas, maintenance, infra, platform, review, tool, translation, test, tutorial, talk, video.
This was requested by krishdevdb in this comment
Bug: Linguistic Issue and referential issue in the readme.md
Describe the bug Going through the 'Why do I use a CSS Reset' part, I noticed that there is a Firefox browser referenced in the table, but instead of the firefox heading, the heading says 'with Resetter.css'.
Also, on the first line of this section, instead of using 'Down is the result', which could be misleading as the status of the website, 'Below is the result' can be used.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour The table heading should say Firefox, instead of 'with Resetter.css'
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
Placeholder opacity in FireFox
Is your feature request related to a problem? Please describe. FireFox (latest version as of posting) has a slightly lower opacity for input placeholders. See my screenshot below. You fix this with:
I suggest adding it to reseter.css.
Describe the solution you'd like Fix The Issue By Adding
input::placeholder { opacity: 1; }
to reseter.cssAdditional context
Originally Publish By @starkana in sindresorhus/modern-normalize#46
Request: Downgrade node requirement unless you really need it
Is your feature request related to a problem? Please describe. We are using the LTS version of Node which is not supported by this package.
Describe the solution you'd like Downgrade the required Node version to the latest LTS.
Describe alternatives you've considered Upgrading to a non-LTS version is not possible on the project I'm currently working, so not much that can be done here.
Additional context
showcase.png Image not showing
@krishdevdb
chore(deps-dev): bump postcss-cli from 9.0.2 to 10.1.0
Bumps postcss-cli from 9.0.2 to 10.1.0.
Changelog
Sourced from postcss-cli's changelog.
Commits
a3574b1
10.1.083771bd
Allow non-TTY stdin watch mode (#448)e939a68
Update dependency fs-extra to v11 (#447)1cd25c2
Update dependency prettier to ~2.8.0 (#445)9fdc954
Update dependency eslint-config-problems to v7 (#443)dcdef56
Update dependency slash to v5 (#442)e1b551e
Update dependency postcss-import to v15 (#439)7bf54af
Update dependency uuid to v9 (#440)e5419b5
10.0.0d779476
Add tests for ESM configDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)From normalize: Line-height should be 1.5 to comply the WCAG guideline
Original issue in Normalize: https://github.com/necolas/normalize.css/issues/864
Particularly the bit about Turkish characters is interesting.
The guideline in question: https://www.w3.org/WAI/WCAG21/Understanding/text-spacing.html
Currently using 1.15 in this repo (https://github.com/resetercss/reseter.css/blob/main/css/reseter.css#L10)
Adding colours to the documentation website for better experience.
I liked the documentation a lot. Could you add some colourful shades so that the docs become a bit easy to read? I tried changing the color temporarily, which looked better.
Bug: incorrect selector for disabled buttons
Noticed an issue where the pointer style is being applied to buttons even though they are disabled. Here is the current code that provides this styling.
I believe that to proper select disabled buttons we have to do it this way:
However, can we not just utilize the
:enabled
selector?