Skip to content

Instantly share code, notes, and snippets.

@ahmadawais
Created November 28, 2014 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmadawais/4e7c3e6fad3183838a9d to your computer and use it in GitHub Desktop.
Save ahmadawais/4e7c3e6fad3183838a9d to your computer and use it in GitHub Desktop.
Basic CSS Hacks
@import "compass/css3";
/* global box-sizing */
*,
*:after,
*:before {
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
font-size: 62.5%;
}
body {
font: 11px/1.4 'U_reg', Arial, sans-serif;
color: #444;
margin: 0;
background: #2c3e50;
}
/* clear */
.clear:before,
.clear:after {
content: ' ';
display: table;
}
.clear:after {
clear: both;
}
.clear {
*zoom: 1;
}
img {
max-width: 100%;
vertical-align: bottom;
}
a {
color: #444;
text-decoration: none;
}
a:hover {
color: #444;
}
a:focus {
outline: 0;
}
a:hover,
a:active {
outline: 0;
}
input:focus {
outline: 0;
border: 1px solid #292929;
}
ol, ul {
list-style: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment