Design comparison
SolutionDesign
Solution retrospective
Not my first challenge I've taken on, but it's my first upload. It took me a while to figure out how to get the live site working through GitHub pages, but I just figured it out and have more solutions incoming. The only thing I had trouble on with this is that I wasn't able to color in the background for the annual plan, but other than that it's pretty much working fine. I might make a few changes and I'm open to suggestions and feedback.
Community feedback
- @VickyAzolaPosted over 1 year ago
Nice work!
A few tips i can give you:
- To center the card vertically and horizontally you can use grid or flex
- By using this you won't need the
position: absolute;
on your card. - Here is an example with grid:
body { min-height: 100vh; display: grid; place-content: center;
- For the background image you need to add some background properties here is a link for more information:
- Here is an example:
body { background: url(images/pattern-background-desktop.svg); background-color: hsl(225, 100%, 94%); background-size: contain; background-repeat: no-repeat; }
Hope this helps!
Marked as helpful1
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