Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

There are some styles that can be helpful when working with forms on mobile devices.

Font Sizes

The default behavior in iOS is to zoom the browser into a field when a font size < 16px has been specified (or not font size is specified at all).  This can be helpful to come users and a distraction to others.  To disable this behavior, use the CSS below to set the font size on components that accept text input.

Font Size
input[type='text'],
input[type='number'],
textarea {
  font-size: 16px;
}


  • No labels