Skip to content

Instantly share code, notes, and snippets.

@dara
Last active December 18, 2015 21:38
Show Gist options
  • Save dara/5848453 to your computer and use it in GitHub Desktop.
Save dara/5848453 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 {
text-decoration: none;
outline: 0 !important;
color: inherit;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
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;
}
}
/* Clearfix */
.cf:before,
.cf:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.cf:after {
clear: both;
}
.cf {
*zoom: 1;
}
/*
Click and edit any text in the browser
http://www.css-101.org/articles/trick-for-rapid-prototyping/
*/
* {
-webkit-user-modify: read-write;
word-wrap: break-word;
-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;
}
a {
/* While keeping the links clickable */
-webkit-user-modify: initial;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment