Skip to content

Commit 774f43a

Browse files
authored
Added min-width: 0; to reset random browser defaults.
1 parent 4d30056 commit 774f43a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reset.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ♻️ Tiny CSS Reset (https://github.com/gnat/css-reset-tiny) */
2-
*,*::before,*::after { box-sizing: border-box; margin: 0; } /* Prevent padding and border from affecting element width. Remove margins. */
2+
*,*::before,*::after { box-sizing: border-box; margin: 0; min-width: 0; } /* Prevent padding and border from affecting element width. Remove margins. Remove random default min widths for input etc. */
33
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. */
44
html,body { background: #aaa; } /* Disable screen flashbang. */
55
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. */

0 commit comments

Comments
 (0)