Skip to content

Instantly share code, notes, and snippets.

@L9m
Last active March 29, 2019 06:22
Show Gist options
  • Save L9m/50dce61f20593f966372c7d44c7a8b9b to your computer and use it in GitHub Desktop.
Save L9m/50dce61f20593f966372c7d44c7a8b9b to your computer and use it in GitHub Desktop.
My reboot css
/* Document */
html {
box-sizing: border-box;
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
/* Body */
body {
margin: 0;
background-color: #fff;
}
/*Abbreviations*/
ul {
list-style: none;
}
/* Links */
a {
text-decoration: none;
}
/* Image */
img {
vertical-align: middle;
border-style: none;
}
/* Tables */
table {
border-collapse: collapse;
}
/* Forms */
input,
button,
select,
optgroup,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button {
-webkit-appearance: none;
}
/* hide element with the `hidden` HTML attribute */
[hidden] {
display: none !important;
}
/* Inspired by bootstrap-reboot.
* https://github.com/michaelwhyte/bootstrap-reboot/blob/master/bootstrap-reboot-with-comments.css */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment