Design comparison
SolutionDesign
Solution retrospective
Hi, this project is build with basic code html css only, but I will really appreciate any suggestions if i can make it better
Community feedback
- @fernandolapazPosted over 1 year ago
Hi π, just a couple of things that may interest you:
- In case you want to reduce the code, these two declarations don't seem to be necessary:
.box { position: relative; margin: 9rem auto; }
- And if you want to prevent attribution from overlapping the card in low-height viewports (like landscape mode on mobile), you can position it to the bottom only after a certain height:
@media screen and (min-height: 40rem) { .attribution { position: absolute; bottom: 15px; font-size: 11px; text-align: center; }
I hope itβs useful : )
Regards,
Marked as helpful1@regina-chtPosted over 1 year ago@fernandolapaz Thank u so much, I was actually wondering how to fix the overlapping but after a few tries I got tired so I just gave up. I deeply appreciate your help, I'll try your suggestions asap :)
1
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