Skip to content

Instantly share code, notes, and snippets.

@marcusandre
Created November 19, 2021 18:39
Show Gist options
  • Save marcusandre/b2a65e3d7b0b9cac7ee6daae0c4eb168 to your computer and use it in GitHub Desktop.
Save marcusandre/b2a65e3d7b0b9cac7ee6daae0c4eb168 to your computer and use it in GitHub Desktop.
/* Reset */
*:where(:not(iframe, canvas, img, svg, video):not(svg *, symbol *)) {
all: unset;
display: revert;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
ol,
ul {
list-style: none;
}
img {
max-width: 100%;
}
table {
border-collapse: collapse;
}
textarea {
white-space: revert;
}
:where([contenteditable]) {
-webkit-user-modify: read-write;
overflow-wrap: break-word;
line-break: after-white-space;
-webkit-line-break: after-white-space;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment