8000 GitHub - chasemccoy/resetti: ๐Ÿ‘ทโ€โ™‚๏ธโ› Resetti is a tiny, modern CSS reset with great defaults
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chasemccoy/resetti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Mr. Resetti

resetti.css

A tiny, modern CSS reset with great defaults | Demo


๐Ÿ“ฆ Install

You can install Resetti as a package:

yarn add resetti

Or use it from a CDN:

<link rel="stylesheet" href="https://unpkg.com/resetti/resetti.min.css" />

๐ŸŽจ Customize

Resetti allows you to set some sane default values using CSS variables:

  • --root-font-size: set the root font size of the document, changing the value of the rem unit

You can set these values like this:

:root {
  --root-font-size: 18px;
}

Note that Resetti doesn't make any assumptions about your project. If you don't set these values, they will remain undefined.

๐Ÿ›  Extras

Resetti sets a few CSS variables on the :root scope that may be useful in your project:

  • --system-fonts: system font stack

About

๐Ÿ‘ทโ€โ™‚๏ธโ› Resetti is a tiny, modern CSS reset with great defaults

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0