Skip to content

Instantly share code, notes, and snippets.

@RyanWarner
Created December 16, 2013 16:50
Show Gist options
  • Select an option

  • Save RyanWarner/7990226 to your computer and use it in GitHub Desktop.

Select an option

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;
}
@RyanWarner

Copy link
Copy Markdown
Author

@RyanWarner

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment