You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do this quite a lot on Stack Overflow, I've tried to edit your English and make the formatting more consistent using the same level of heading, but maintain as much as what you'd written as possible.
Copy file name to clipboardExpand all lines: README.md
+17-14Lines changed: 17 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,14 @@
1
1
# CSS Micro Reset
2
2
3
-
You probably don't need CSS Reset, at least not complete CSS Reset.
3
+
You probably don't need CSS Reset, at least not the complete CSS Reset.
4
4
5
-
Every Browser has it's own CSS Reset. Reseting it again means that later you need to set all reseted elements.
5
+
Every Browser has it's own CSS Reset. Resetting it again means that later you need to set all resetted elements.
6
6
7
-
Basically you have Browser Reset -> Your Reset -> Setting all Reseted Elements -> probably another styling at the end.
7
+
Basically you have:
8
8
9
-
#### Let take typical H1 tag mistake:
9
+
Browser Reset -> Your Reset -> Setting all Resetted Elements -> Probably more styling after.
10
+
11
+
## A typical `H1` tag mistake:
10
12
11
13
```css
12
14
/* Chrome Reset */
@@ -40,7 +42,7 @@ h1 {
40
42
font-weight: normal;
41
43
}
42
44
43
-
/* And probably you will do one more H1 setting */
45
+
/* And probably you will do one more further H1 setting */
44
46
45
47
h1 {
46
48
color: #111;
@@ -50,27 +52,28 @@ font-weight: normal;
50
52
51
53
/* I will assume one or two more setting of H1 tag here :) */
52
54
```
53
-
**We all did this mistake too many times.**
54
55
55
-
Why not skip the reset and set just the elements you need for your project?
56
+
## We've all made this mistake too many times.
57
+
58
+
Why not skip the reset and just set the elements that you need for your project?
56
59
57
-
Also why reseting some elements if you are not using them in your project. Example: If you don't have forms in your project don't reset them.
60
+
Also why are you resetting some elements if you are not using them in your project. For example, if you don't have forms in your project, don't reset them.
58
61
59
-
Other thing: It's Ok some elements to be different in different browsers.
62
+
Another thing: It's Ok for some elements to be different between browsers.
60
63
61
-
Why not start with bare bones reset and if needed add some elements?
64
+
Why not start with bare bones reset and only add some elements if needed?
62
65
63
-
I've did just that: **Micro CSS Reset**
66
+
I've done just that: **CSS Micro Reset**
64
67
65
-
Feel free to add or remove elements to Micro CSS Reset, don't just blindly use it. Example: if don't use tables remove all the table related tags in the Micro CSS Reset.
68
+
Feel free to add or remove elements to CSS Micro Reset, don't just blindly use it. For example, if don't use tables remove all the table related tags in the CSS Micro Reset.
66
69
67
70
Like I said in the beginning: You may not need this or any other CSS reset.
68
71
69
72
*Before use, understand what this reset does.*
70
73
71
74
## Download or Install
72
75
73
-
You can copy-paste the CSS code, use direct download, or use npm:
76
+
You can copy-paste the CSS code, use the direct download, or use npm:
0 commit comments