Skip to content

Instantly share code, notes, and snippets.

@armno
Created Nov 1, 2013
Embed
What would you like to do?
my css for phonegap projects
/* 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