Skip to content

Commit 845ecd4

Browse files
committed
first
0 parents  commit 845ecd4

6 files changed

Lines changed: 812 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# reset.css
2+
3+
The part of the rules from [normalize.css](https://github.com/necolas/normalize.css), but more care about **reset** not **normalize**
4+
5+
## Usage
6+
7+
```
8+
import 'fe-reset'
9+
```
10+
11+
## Browser support
12+
13+
- Chrome (last two)
14+
- Edge (last two)
15+
- Firefox (last two)
16+
- Firefox ESR
17+
- Internet Explorer 8+
18+
- Opera (last two)
19+
- Safari 6+

demo/index.css

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
}
5+
*,
6+
*:before,
7+
*:after {
8+
box-sizing: inherit;
9+
-moz-box-sizing: inherit;
10+
}
11+
html {
12+
box-sizing: border-box;
13+
-moz-box-sizing: border-box;
14+
font-family: "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
15+
-ms-text-size-adjust: 100%;
16+
-webkit-text-size-adjust: 100%;
17+
}
18+
body {
19+
background-color: transparent;
20+
}
21+
ul,
22+
li,
23+
ol {
24+
list-style: none;
25+
}
26+
fieldset,
27+
img,
28+
iframe {
29+
border: 0;
30+
}
31+
a::-moz-focus-inner,
32+
button::-moz-focus-inner,
33+
input::-moz-focus-inner {
34+
border: 0;
35+
margin: 0;
36+
padding: 0;
37+
}
38+
input::-webkit-inner-spin-button,
39+
input::-webkit-outer-spin-button {
40+
-webkit-appearance: none;
41+
margin: 0;
42+
}
43+
input::-webkit-search-decoration,
44+
input::-webkit-search-cancel-button {
45+
display: none;
46+
}
47+
article,
48+
aside,
49+
details,
50+
figcaption,
51+
figure,
52+
footer,
53+
header,
54+
hgroup,
55+
nav,
56+
section,
57+
summary {
58+
display: block;
59+
}
60+
audio,
61+
canvas,
62+
video {
63+
display: inline-block;
64+
}
65+
progress {
66+
vertical-align: baseline;
67+
}
68+
address,
69+
caption,
70+
cite,
71+
code,
72+
dfn,
73+
em,
74+
i,
75+
th,
76+
var {
77+
font-style: normal;
78+
font-weight: normal;
79+
}
80+
template,
81+
[hidden] {
82+
display: none;
83+
}
84+
svg:not(:root) {
85+
overflow: hidden;
86+
}
87+
caption,
88+
th {
89+
text-align: left;
90+
}
91+
h1,
92+
h2,
93+
h3,
94+
h4,
95+
h5,
96+
h6 {
97+
font-size: 100%;
98+
font-weight: normal;
99+
}
100+
a {
101+
background-color: transparent;
102+
-webkit-text-decoration-skip: objects;
103+
}
104+
a:focus,
105+
a:hover,
106+
a:active,
107+
input:focus,
108+
textarea:focus {
109+
outline: 0;
110+
}
111+
img {
112+
vertical-align: middle;
113+
-ms-interpolation-mode: bicubic;
114+
}
115+
table {
116+
font-size: inherit;
117+
font: 100%;
118+
border-collapse: collapse;
119+
border-spacing: 0;
120+
}
121+
td {
122+
vertical-align: top;
123+
}
124+
th {
125+
text-align: inherit;
126+
}
127+
iframe {
128+
display: block;
129+
}
130+
textarea {
131+
resize: none;
132+
overflow: auto;
133+
vertical-align: top;
134+
}
135+
button,
136+
input,
137+
select,
138+
textarea {
139+
font-size: 100%;
140+
font: inherit;
141+
text-transform: none;
142+
}
143+
button,
144+
input {
145+
line-height: normal;
146+
overflow: visible;
147+
-webkit-appearance: none;
148+
}
149+
button {
150+
cursor: pointer;
151+
}
152+
button[disabled],
153+
input[disabled] {
154+
cursor: default;
155+
}
156+
[type="checkbox"],
157+
[type="radio"] {
158+
padding: 0;
159+
}
160+
abbr,
161+
acronym {
162+
border: 0;
163+
font-variant: normal;
164+
}
165+
b,
166+
strong {
167+
font-weight: bolder;
168+
}
169+
code,
170+
kbd,
171+
pre,
172+
samp {
173+
font-family: monospace, monospace;
174+
font-size: 1em;
175+
}

0 commit comments

Comments
 (0)