Skip to content

Instantly share code, notes, and snippets.

@arikan
Forked from dara/good.css
Created July 16, 2013 14:44
Show Gist options
  • Save arikan/6009371 to your computer and use it in GitHub Desktop.
Save arikan/6009371 to your computer and use it in GitHub Desktop.
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.float-left {
float: left;
}
.float-right {
float: right;
}
.hide {
display: none;
}
.show {
display: block;
}
.disabled {
pointer-events: none;
opacity: 0.5;
}
table tr:nth-child(even) {
background: rgba(0,0,0,0.1);
}
html {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
font-size: 20px;
height: 100%;
}
a {
outline: 0;
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
margin: 1rem 0;
line-height: 1.2em;
}
@media only screen and (max-width: 767px) {
.no-tablet {
display: none;
}
}
@media only screen and (max-width: 480px) {
.no-phone {
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment