Socket
Socket
Sign inDemoInstall

resetti

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resetti

Resetti is a tiny, modern CSS reset with great defaults


Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 13 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc