Design comparison
Solution retrospective
It was difficult to me position items in the right place, if someone of you could give an article or a guide to think better before place things I'd be thankful. <3
Community feedback
- @ApplePieGiraffePosted over 3 years ago
Hi, Angel Pineda! 👋
Nice work on this challenge! 🙌
I think using absolute positioning for the floating cube is a good call since it needs to overlap the accordion card and the outside. The illustration and background image in the desktop layout can be placed with CSS background images, though. Doing so means you won’t have to add those images directly to your HTML (which will keep your markup a little cleaner) and I think it’s easier to manage background images with CSS because you won’t have to worry about things like overflow issues. If you’d like to learn more about CSS background images and how to use them, check out this tutorial from MDN. 🙂
Besides that, I'd like to suggest,
- Adding
cursor: pointer
to the FAQs in the accordion card. - Adding a little space between the card and the bottom of the page (using margin/padding) in the mobile layout.
- Probably adding a little bit of space between the top of the card and the heading, as well.
Keep coding (and happy coding, too)! 😁
Marked as helpful0@angelpineda-devPosted over 3 years ago@ApplePieGiraffe thank you for the comments and the resourcers, this will help me to improve my coding.
1 - Adding
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