Responsive Order Summary Card Component Using Flexbox

Solution retrospective
Hello friends :D,
I got a few questions:
-
I had trouble positioning my background image especially getting it to stretch the entire view-port width. After researching I came
background-size: 100%;
, and it worked out! Is this the correct approach? Is there a way to position background-images absolutely? -
For the subscription plan section the "Annual plan and $59.99" had to be right-aligned so I initially set the div to
display:flex
and then setflex-grow: 1
for the "Annual plan and $59.99" div and usedtext-align: right
. This worked out well. I was wondering is there were other methods people used to attain the same result/layout. -
So far this challenge was my hardest, If there's anything I haven't mentioned above and need to Improve on please let me know. (best coding practices etc...)
THANKS IN ADVANCE (:
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Sai's solution.
Join 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