Skip to content

Commit

Permalink
Update reset.css
Browse files Browse the repository at this point in the history
  • Loading branch information
gnat committed Nov 15, 2023
1 parent bca31e7 commit 94b5217
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions reset.css
@@ -1,12 +1,12 @@
/* ♻️ Tiny CSS Reset (https://github.com/gnat/css-reset-tiny) */
*,*::before,*::after { box-sizing: border-box; margin: 0; } /* Prevent padding and border from affecting element width. Remove margins. */
html { text-size-adjust: none; -webkit-text-size-adjust: none; -moz-text-size-adjust: none; tab-size: 4; } /* Prevent font size inflation on mobile. Sane tab size. */
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; } /* Zero padding. */
html,body { background: #aaa; } /* Disable screen flashbang. */
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; } /* No padding. */
h1,h2,h3,h4,h5,h6,p { font-size: inherit; font-weight: inherit; overflow-wrap: break-word; } /* Reset all headers and <p>. */
h1,h2,h3,h4 { text-wrap: balance; } /* Balance text on big headers. */
button,input,select,textarea { font: inherit; } /* No custom font on forms. */
canvas,img,picture,svg,video { height: auto; max-width: 100%; } /* Media should not break outside of parent. */
audio,canvas,embed,iframe,img,object,svg,video { vertical-align: middle; } /* Remove tiny space under these elements. */
img,picture,svg,video { height: auto; max-width: 100%; } /* Media should not break outside of parent. */
audio,canvas,embed,iframe,img,object,svg,video { vertical-align: middle; } /* Removes tiny space on bottom. */
table { text-indent: 0; border-color: inherit; border-collapse: collapse; border-spacing: 0; } /* Modern tables. */
[hidden] { display: none; } /* Hidden elements should stay hidden. */
html,body { background: #aaa; } /* Disable flashbang. */
[hidden] { display: none; } /* Hidden elements stay hidden. */

0 comments on commit 94b5217

Please sign in to comment.