Design comparison
SolutionDesign
Solution retrospective
Hello guys! I have a problem. The site looks good on desktop, however, when I open it on my iPhone Xs, the styles applied to inputs don't work anymore. Do you know what the reason might be? Thanks in advance, Jan
Community feedback
- @mattstuddertPosted over 4 years ago
Hey Jan, nice work on this challenge! I'd recommend using a
button
element instead of<input type="submit">
. This is becauseinput
elements come with a bunch of extra default styles from the browser and can get quite fiddly if you're using it as a button (as you've discovered!). Try using abutton
element instead and hopefully, that will resolve your issue 👍2
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord