Skip to content

Instantly share code, notes, and snippets.

@enggsuraj
Last active February 16, 2023 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save enggsuraj/09f2ee6aa6d8ca1e65694da742e0e042 to your computer and use it in GitHub Desktop.
Save enggsuraj/09f2ee6aa6d8ca1e65694da742e0e042 to your computer and use it in GitHub Desktop.
CSS Starting Boilerplate Reset
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
}
.clearfix::after {
content: "";
display: table;
clear: both;
}
*::after {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
*::before {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
:root {
--bg-white: white;
--bg-black: black;
}
:focus {
outline: 0;
}
a:active,
a:hover {
outline: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment