Created
November 1, 2013 07:10
-
-
Save armno/7261861 to your computer and use it in GitHub Desktop.
my css for phonegap projects
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
/* apply a natural box layout model to all elements */ | |
*, *:before, *:after { | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
/* from http://devgeeks.github.io/presentation--none-of-the-above/#5 */ | |
body { | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
-webkit-touch-callout: none; | |
-webkit-text-size-adjust: none; | |
-webkit-user-select: none; | |
user-select: none; | |
font-size: 100%; | |
padding: 0; | |
margin: 0; | |
background-color: #fff; | |
font-family: "Roboto", "HelveticaNeue", Helvetica, Arial, sans-serif; | |
} | |
a { | |
text-decoration: none; | |
color: royalblue; | |
} | |
.left { | |
float: left; | |
} | |
.right { | |
float: right; | |
} | |
.aligncenter { | |
text-align: center; | |
} | |
.clearfix:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} | |
.ir { | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment