Socket
Socket
Sign inDemoInstall

the-new-css-reset

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

the-new-css-reset - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "the-new-css-reset",
"version": "1.1.1",
"version": "1.1.2",
"description": "the new CSS reset, using new css features",

@@ -5,0 +5,0 @@ "main": "css/reset.css",

@@ -8,3 +8,31 @@ # The New CSS Reset

## How to Use ?
## What the-new-css-reset is resetting?
This CSS reset is built from the understanding we don't want to use the default style we are getting from the browsers, except the 'display' property.
This CSS reset removes all the default styles which we are getting on specific HTML elements except the 'display' property, as I already mention, and except special HTML elements like iframe, canvas, img, svg, video.
In case you want the default style of the browser of a specific HTML element back, you can revert back to the default styles of the browser. For example:
```
input[type="checkbox"],
input[type="radio"] {
all: revert;
}
```
or all input elements:
```
input,
textarea,
select {
all: revert;
}
```
[Download the Latest Version](https://raw.githubusercontent.com/elad2412/the-new-css-reset/main/css/reset.css)
## NPM and How to Use ?
The package name at NPM is 'the-new-css-reset'.
Import the /css/reset.css before the regular styles of the project.
In React project, insert to main entry file

@@ -11,0 +39,0 @@ ```angular2html

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