Skip to content

Instantly share code, notes, and snippets.

@pofl
Last active February 20, 2026 18:48
Show Gist options
  • Select an option

  • Save pofl/a9387172e30371b1612617f3ae1bfadf to your computer and use it in GitHub Desktop.

Select an option

Save pofl/a9387172e30371b1612617f3ae1bfadf to your computer and use it in GitHub Desktop.
CSS reset
/*** https://www.youtube.com/watch?v=5wLrz_zUwoU ***/
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
line-height: 1.5;
}
/*** http://bettermotherfuckingwebsite.com ***/
body {
margin: 40px auto;
max-width: 650px;
line-height: 1.6;
font-size: 18px;
color: #444;
padding: 0 10px;
}
h1,
h2,
h3 {
line-height: 1.2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment