Skip to content

Commit 7f216e4

Browse files
authored
Update reset.css
1 parent 61ad59f commit 7f216e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reset.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/* ♻️ Tiny CSS Reset (https://github.com/gnat/css-reset-tiny) */
22
*,*::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. */
34
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; }
45
h1,h2,h3,h4,h5,h6,p { font-size: 100%; font-weight: normal; overflow-wrap: break-word; } /* Reset all headers. */
6+
h1,h2,h3,h4 { text-wrap: balance; } /* Balance text wrapping on headings */
57
button,input,select,textarea { font: inherit; } /* No custom font on forms. */
68
img,video,picture,canvas,svg { height: auto; max-width: 100%; } /* Media should not break outside of parent. */
79
table { border-collapse: collapse; border-spacing: 0; } /* Modern tables. */

0 commit comments

Comments
 (0)