🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

reset-css

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reset-css

An unmodified copy of Eric Meyer's CSS reset.

5.0.2
latest
Source
npm
Version published
Weekly downloads
80K
2.5%
Maintainers
1
Weekly downloads
 
Created
Source

reset.css

An unmodified* copy of Eric Meyer's CSS reset.

Install

With curl:

$ curl -LO "https://unpkg.com/reset-css/reset.css"
$ curl -LO "https://unpkg.com/reset-css/less/reset.less"
$ curl -LO "https://unpkg.com/reset-css/sass/_reset.scss"

With NPM:

$ npm install reset-css

With Yarn:

$ yarn add reset-css

With Bower:

$ bower install reset-css

Usage

HTML:

<link rel="stylesheet" href="/path/to/reset-css/reset.css" />

CSS:

@import '/path/to/reset-css/reset.css';

Via PostCSS and postcss-import:

@import 'reset-css';

Via webpack and css-loader:

import 'reset-css';

Via Less:

@import '/path/to/reset-css/less/reset';

Via Sass:

@import '/path/to/reset-css/sass/reset';

*Changelog

Three changes have been made from the 2011 version, all approved by Mr. Meyer:

  • Added main to list of HTML 5 elements (#7)
  • Added rule to fix hidden attribute on HTML 5 elements (#12)
  • Added menu to list of lists (#17)

Eric Meyer http://meyerweb.com/eric/tools/css/reset/

License: none (public domain)

FAQs

Package last updated on 21 Jul 2023

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