I'm currently facing an issue with my email contact form. The submit button is styled perfectly on desktop, but on mobile, the padding and border-radius are not being applied. I attempted to switch to EM units from pixels, but still no luck. You can view the form at this URL: (just for reference, not self-promotion).
HTML:
<input type="submit">
CSS:
input[type=submit] {
background-color: #4CAF50;
color: white;
/* padding: 12px 20px; */
padding: 1.2em 2em;
border: none;
border-radius: 0.4em;
cursor: pointer;
margin: 10px;
}
I even tried inspecting the button using Safari Developer Tools on my iPhone, but toggling different styles didn't affect the padding. The background-color changes are applied, so there is a link between the styles and the button. Any help would be appreciated, thank you!
Edit: The styling works fine on Chrome for Android, but not on Chrome or Safari on my iPhone. I've also cleared the browser cache as a precaution.
Refer to the screenshot below: