Skip to content

Commit 5acf323

Browse files
authored
Update reset.css
1 parent b261969 commit 5acf323

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reset.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* ♻️ Tiny CSS Reset (https://github.com/gnat/css-reset-tiny) */
2-
*,*::before,*::after { margin: 0; box-sizing: border-box; } /* Remove margins. Use sane box-sizing model. */
3-
html { text-size-adjust: none; -webkit-text-size-adjust: none; -moz-text-size-adjust: none; } /* Prevent font size inflation on mobile. */
2+
*,*::before,*::after { margin: 0; box-sizing: border-box; } /* Remove margins. Prevent padding and border from affecting element width. */
3+
html { text-size-adjust: none; -webkit-text-size-adjust: none; -moz-text-size-adjust: none; tab-size: 4; } /* Prevent font size inflation on mobile. Readable tab size. */
44
html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6,label,table,td,th { padding: 0; }
5-
h1,h2,h3,h4,h5,h6,p { font-size: 100%; font-weight: normal; overflow-wrap: break-word; } /* Reset all headers. */
5+
h1,h2,h3,h4,h5,h6,p { font-size: inherit; font-weight: inherit; overflow-wrap: break-word; } /* Reset all headers. */
66
h1,h2,h3,h4 { text-wrap: balance; } /* Balance text wrapping on headings */
77
button,input,select,textarea { font: inherit; } /* No custom font on forms. */
88
img,video,picture,canvas,svg { height: auto; max-width: 100%; } /* Media should not break outside of parent. */
9-
table { border-collapse: collapse; border-spacing: 0; } /* Modern tables. */
9+
table { text-indent: 0; border-color: inherit; border-collapse: collapse; border-spacing: 0; } /* Modern tables. */
1010
html,body { background: #AAA; } /* Disable flashbang. */

0 commit comments

Comments
 (0)