Skip to content

Commit 967f0d0

Browse files
committed
v1.0.4
Support for webpack
1 parent bce8ba2 commit 967f0d0

File tree

3 files changed

+52
-43
lines changed

3 files changed

+52
-43
lines changed

package.json

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
{
2-
"name": "reset",
3-
"aimee": "app",
4-
"description": "Aimee的reset模块,用于处理配置文件",
5-
"main": "reset.less",
6-
"version": "1.0.3",
7-
"scripts": {
8-
"test": "uz -v"
9-
},
10-
"repository": {
11-
"type": "git",
12-
"url": "https://github.com/Aimeejs/reset.git"
13-
},
14-
"keywords": [
15-
"reset",
16-
"aimee",
17-
"aimee-app",
18-
"uz"
19-
],
20-
"author": "gavinning",
21-
"license": "GPL-3.0",
22-
"bugs": {
23-
"url": "https://github.com/Aimeejs/reset/issues"
24-
},
25-
"homepage": "https://github.com/Aimeejs/reset",
26-
"dependencies": {}
2+
"name": "reset.less",
3+
"aimee": "app",
4+
"description": "reset.css",
5+
"main": "reset.less",
6+
"version": "1.0.4",
7+
"scripts": {
8+
"test": "uz -v"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/Aimeejs/reset.git"
13+
},
14+
"keywords": [
15+
"reset",
16+
"aimee",
17+
"aimee-app",
18+
"uz"
19+
],
20+
"author": "gavinning",
21+
"license": "GPL-3.0",
22+
"bugs": {
23+
"url": "https://github.com/Aimeejs/reset/issues"
24+
},
25+
"homepage": "https://github.com/Aimeejs/reset",
26+
"dependencies": {}
2727
}

readme.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22

33
Aimee框架的reset模块,css reset,用于重置浏览器默认样式
44

5-
#### Install
5+
#### For aimeejs
6+
```sh
7+
aimee i reset --save
8+
```
9+
10+
11+
#### For webpack
12+
```
13+
npm i reset.less --save
14+
```
15+
16+
17+
#### Usage
18+
```js
19+
import 'reset.less'
620
```
7-
aimee i reset
8-
```

reset.less reset.css

+12-15
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
@charset "utf-8";
22

33
/*css reset*/
4+
* {
5+
margin:0;
6+
padding:0;
7+
}
48
body {
59
font:normal 14px/1.5 "\5FAE\8F6F\96C5\9ED1", Helvetica;
610
color:#000;
711
background-color:white;
812
-webkit-text-size-adjust: none;
913
}
10-
body,div,dl,dt,dd,del,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,button,input,textarea,p,blockquote,th,td,menu {
11-
margin:0;
12-
padding:0;
13-
}
1414
input[type="text"], textarea {
1515
-webkit-appearance: none;
1616
outline: none;
@@ -41,30 +41,27 @@ h1,h2,h3,h4,h5,h6 {
4141
font-weight:normal;
4242
font-style: normal;
4343
}
44-
q:before,q:after {
44+
q:before,q:after,
45+
blockquote:before, blockquote:after {
4546
content:'';
4647
}
4748
abbr,acronym {
4849
border:0;
4950
}
50-
header, section, footer, img {
51+
article, aside, details, figcaption, figure,
52+
footer, header, hgroup, menu, nav, section, img {
5153
display:block;
52-
margin:0;
53-
padding:0;
5454
}
55-
a{
55+
a {
5656
color: #000;
5757
text-decoration: none;
5858
}
59-
.dn{
59+
.dn,.hide {
6060
display: none !important;
6161
}
62-
.oh{
62+
.oh {
6363
overflow: hidden !important;
6464
}
65-
.vh{
65+
.vh {
6666
visibility: hidden !important;
6767
}
68-
.no-tap-color{
69-
.tap-color();
70-
}

0 commit comments

Comments
 (0)