Last active
December 23, 2015 11:29
-
-
Save dryan1144/6629084 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Resets and Defaults by healingartswebdesign.com*/ | |
* { | |
box-sizing: border-box; | |
margin:0; | |
padding:0; | |
} | |
::selection { | |
background:#000; | |
color:#FFF; | |
text-shadow:none; | |
} | |
a { | |
transition: all 0.1s linear; | |
} | |
a:active { | |
transition: none; | |
} | |
input, | |
textarea, | |
.button { | |
transition: all 0.1s linear; | |
} | |
input[type="submit"], | |
.button { | |
display:inline-block; | |
zoom:1; | |
*display:inline; | |
-webkit-appearance:none; | |
} | |
input[type="submit"]:active, | |
.button:active { | |
transition: none; | |
} | |
/*Clearfix*/ | |
.clearfix:before, | |
.clearfix:after { | |
content: " "; | |
display: table; | |
} | |
.clearfix:after { | |
clear: both; | |
} | |
.clearfix { | |
*zoom: 1; | |
} | |
/*Responsive Images*/ | |
img { | |
max-width: 100%; | |
width: auto\9; /*IE 7 and 8*/ | |
height: auto; | |
vertical-align: middle; | |
border: 0; | |
-ms-interpolation-mode: bicubic; | |
} | |
/*Responsive Forms*/ | |
@media ( max-width:767px ) { | |
input, | |
textarea { | |
width:100%; | |
margin-bottom:5px; | |
float:none; | |
display:block; | |
} | |
input[type="checkbox"], | |
input[type="radio"] { | |
width:auto; | |
display:inline-block; | |
zoom:1; | |
*display:inline; | |
margin-right:5px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment