Set font-size
on Form Elements for a Better Mobile Experience
To avoid mobile browsers (iOS Safari, et al.) from zooming in on HTML form elements when a <select>
drop-down is tapped, add font-size
to the selector rule:
input[type="text"],
input[type="number"],
select,
textarea {
font-size: 16px;
}
💃
当前内容版权归 AllThingsSmitty 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 AllThingsSmitty .