Design comparison
Solution retrospective
Hey guys! I tried to make this project as responsive as possible. However, I still haven't quite figured, how to stick the footer at the end of the page in the most responsive way? Any help is appreciated!
Also, I have worked a bit on validating the form. Have tried a certain add ons for a better user experience. Let me know if you guys have any inputs on that.
Any feedback will help me. So please do! I will try to make changes on the fly! Thank you!
Community feedback
- @janegcaPosted almost 4 years ago
Hi Paritosh, The layouts look good on both my laptop and Android. I'm not sure why you're concerned about the footer, it stays below everything correctly through various resizes.
I like the added hints for the input area. Nice job.
1@Paritosh7Posted almost 4 years ago@janegca Hey! Thanks! Regarding the footer, I meant, for ex - if we have a high resolution screen, then the footer might not stay at the bottom of the page, because of the increased pixel size. As, we are making the footer kinda stay at the bottom by using
margin-bottom : required px
. So, I think the footer won't stick to the bottom on a larger - high resolution screen (the gap b/w the bottom of the page and footer will increase). So, is there a way to make the footer stay at the bottom no matter what?Thanks for taking the time to go through the project!
0@janegcaPosted almost 4 years ago@Paritosh7 ah, I see ... played around a little with your code using the Web Dev tools, think the following might work (sort of)
- For the larger sizes, set the body up as a positioning context and size to the viewport body { width: 100vw; height: 100vh; transform: translate(0); }
- Position the footer: position: fixed; bottom: 0; width: 100%;
It sort of worked, will need more tinkering for margins, etc
Hope that helps a little (and doesn't lead you astray!) ... you never know with CSS, where context is everything ... lol
0@Paritosh7Posted almost 4 years ago@janegca Cool! I will give it a shot. I did find a different solution this though. You can also check it out, here.
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