the-new-css-reset
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4706
44