Skip to content

Instantly share code, notes, and snippets.

@RyanWarner
Created December 16, 2013 16:50
Show Gist options
  • Save RyanWarner/7990226 to your computer and use it in GitHub Desktop.
Save RyanWarner/7990226 to your computer and use it in GitHub Desktop.
When defining input width on mobile, you have to set box sizing to border-box or it won't work.
input{
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 200px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment