-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move sass and less to their own directories to make importing easier
- Loading branch information
1 parent
678cf0c
commit f7ce7ce
Showing
5 changed files
with
18 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* http://meyerweb.com/eric/tools/css/reset/ | ||
v3.0 | 20180413 | ||
v4.0 | 20180602 | ||
License: none (public domain) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,9 @@ An [unmodified\*](#changelog) copy of Eric Meyer's [CSS reset](https://meyerweb. | |
With curl: | ||
|
||
```command | ||
$ curl -O "https://unpkg.com/[email protected]/reset.css" | ||
$ curl -O "https://unpkg.com/[email protected]/reset.css" | ||
$ curl -O "https://unpkg.com/[email protected]/sass/_reset.sass" | ||
$ curl -O "https://unpkg.com/[email protected]/less/reset.less" | ||
``` | ||
|
||
With [NPM](http://npmjs.com): | ||
|
@@ -33,41 +35,37 @@ $ bower install reset-css | |
HTML: | ||
|
||
```html | ||
<link rel="stylesheet" href="/assets/reset-css/reset.css" /> | ||
<link rel="stylesheet" href="/path/to/reset-css/reset.css" /> | ||
``` | ||
|
||
CSS: | ||
|
||
```css | ||
@import '/assets/reset-css/reset.css'; | ||
@import '/path/to/reset-css/reset.css'; | ||
``` | ||
|
||
PostCSS and [postcss-import](https://github.com/postcss/postcss-import): | ||
Via PostCSS and [postcss-import](https://github.com/postcss/postcss-import): | ||
|
||
```css | ||
@import 'reset-css'; | ||
``` | ||
|
||
Webpack and [css-loader](https://github.com/webpack-contrib/css-loader): | ||
Via Webpack and [css-loader](https://github.com/webpack-contrib/css-loader): | ||
|
||
```js | ||
import reset from 'reset-css'; | ||
import 'reset-css'; | ||
``` | ||
|
||
Sass: | ||
Via Sass: | ||
|
||
```scss | ||
@import '/assets/reset-css/_reset'; | ||
@import '/path/to/reset-css/sass/reset'; | ||
``` | ||
|
||
Less: | ||
Via Less: | ||
|
||
```less | ||
@import '/assets/reset-css/reset'; | ||
|
||
// or | ||
|
||
@import (inline) '/assets/reset-css/reset.css'; | ||
@import '/path/to/reset-css/less/reset'; | ||
``` | ||
|
||
## \*Changelog | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* http://meyerweb.com/eric/tools/css/reset/ | ||
v3.0 | 20180413 | ||
v4.0 | 20180602 | ||
License: none (public domain) | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* http://meyerweb.com/eric/tools/css/reset/ | ||
v3.0 | 20180413 | ||
v4.0 | 20180602 | ||
License: none (public domain) | ||
*/ | ||
|
||
|