https://github.com/2ue/rest-css
A rest css style list that you can use it in javascript and css。
https://github.com/2ue/rest-css
css normalize rest
Last synced: 24 days ago
JSON representation
A rest css style list that you can use it in javascript and css。
- Host: GitHub
- URL: https://github.com/2ue/rest-css
- Owner: 2ue
- License: mit
- Created: 2017-02-08T11:56:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-08T07:46:57.000Z (over 8 years ago)
- Last Synced: 2025-02-21T21:48:35.404Z (over 1 year ago)
- Topics: css, normalize, rest
- Language: CSS
- Homepage: https://www.npmjs.com/package/rest-css
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> a css file, you can import it anywhere that use the javascript.
## Start
``` shell
npm i --save rest-css
```
## Use
> you can use it in javascript(maybe vue, react, angluar, etc) directly, as long as you can use javascript. but you sholud keep it importing before all other css files;
- in javascript file
``` javascript
import 'rest-css'
```
- in vue, as long as you can use javacript, you also can inport it.
``` vue
//import css,package autoly
import 'rest-css'
export default { }
```
- of course, if you don't like import css in js, also in css to import it;
``` css
@import url('../node_modules/rest-css/src/rest.css')
```
## Reference
- [-webkit-text-size-adjust](http://blog.csdn.net/mxy2013/article/details/49813331)