Skip to content

Instantly share code, notes, and snippets.

View DuncanWilder's full-sized avatar

Duncan Wilder DuncanWilder

View GitHub Profile
@DuncanWilder
DuncanWilder / normalize-reset.css
Last active January 25, 2020 14:58
normalize-reset.css
// Reset padding, margins, and get everything to use box-sizing: border-box
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
// Remove touch delay on mobile devices (where the browser is waiting 300ms for a double tap)