Design comparison
Community feedback
- @VCaramesPosted about 2 years ago
Hey @awsmPuff, some suggestions to improve you code:
Implement a Mobile First approach 📱
With mobile devices being the predominant way that people view websites/content. It is more crucial than ever to ensure that your website/content looks presentable on all mobile devices. To achieve this, you start building your website/content for smaller screen first and then adjust your content for larger screens.
-
Your image is distorted and becomes warped as the screen size changes. This is because you are using background-size: 100% 100%; instead of background-size: cover;; this will keep you image centered at all times.
-
The same should be done to the Background Decoration.
-
The button should be positioned with Position Absolute/ Relative to help with the overflow happening at under 1000x.
-
You want to start your media query at a later point or make some adjustments to your desktop view layout. Everything is squished together and overflowing.
Happy Coding! 👻🎃
Marked as helpful0 -
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