Fix

by jaydenseric

jaydenseric /Fix

A CSS normalization/reset reference.

128 Stars 12 Forks Last release: Not found 7 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Fix

A quick reference for patching up unruly browser CSS defaults. Part normalization, part reset.

Offending rules are surgically targeted. For example, the

padding-left
of
ul
is reset using
padding-left: 0
and not the typical
padding: 0
.

You could include the whole thing in your project, but these days global CSS is a no no. Only use the relevent bits when working on components.

Check out the blog post that spawned this project.

Todo

  • Document rules.
  • Add more rules, particularly for inputs.

Licence

MIT license.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.