HTML + SASS + JS

Solution retrospective
Hello! I would like the red border (that shows when there's an error) not to appear around the submit button. How can I achieve it besides giving the button absolute positioning (that makes the error icon show behind the buton)?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Marcosfitzsimons
Hi! Add to your css file:
.email-form { align-items: center; }
.error-icon-wrapper { position: absolute; right: 3rem; }
.submit--button { padding: .9rem 1.7rem; position: absolute; right: -.5rem; z-index: 100; (perhaps it is not necessary) }
In Desktop Design: .submit--button { padding: 1.2rem 1.7rem; }
Marked as helpful
Join 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