Using SASS and vanilla js (375px and 1440px only)
Design comparison
Solution retrospective
I know it is not 100%. Any feedback would help! :)
Community feedback
- @Robert-RynardPosted almost 3 years ago
If you want to make the image more responsive you can look into the object-fit property and using cover. Maybe take a look at the shadow of the button as it makes it look misaligned from the input. You could also put a border around a wrapper of the button and input to help make them look more aligned. Great job!
0@ViyanMdPosted almost 3 years ago@Robert-Rynard another option is to simply use div and set the image as the background property. Also, on iPhone 11 there’s a little offset on the right, but that should be an easy fix. Well done !
1@Robert-RynardPosted almost 3 years ago@ViyanMd Definitely that's the preferred option since the picture is more for styling.
0
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