Single Price Grid Component using Flexbox
Design comparison
Solution retrospective
Sometimes it is difficult to get to know which colours are used in images Is there good colour picker tool which can be used?
Your Feedback on this is appreciated
Thank You
Community feedback
- @0xabdulkhaliqPosted about 1 year ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
COMPONENT MEASUREMENTS 📐:
- Use
min-height: 100vh
formain
instead ofheight: 100vh
. Setting theheight: 100vh
may result in the component being cut off on smaller screens, such as mobile devices in landscape orientation.
- For example; if we set
height: 100vh
then themain
will have100vh
height no matter what. Even if the content spans more than100vh
of viewport.
- But if we set
min-height: 100vh
then themain
will start at100vh
, if the content pushes themain
beyond100vh
it will continue growing. However if you have content that takes less than100vh
it will still take100vh
in space.
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
1 - @hitmorecodePosted about 1 year ago
If you are on windows and you want a good color picker. You can install Microsoft PowerToys
0@MonarchRyuzakiPosted about 1 year ago@hitmorecode ahh i see. though i am using linux
0@hitmorecodePosted about 1 year ago@MonarchRyuzaki I feel your pain, I'm on Ubuntu 22.04 and it has the worst colorpickers. I had to do a workaround, it's not a perfect solutions but it works. You can install Figma and use it's color picker. The downside is, that you'll have to copy paste a sample of the color into figma
0@hitmorecodePosted about 1 year ago@MonarchRyuzaki I just switched to Linux Mint Debian Edition 6 and gpick works great. If you can upgrade to gnome 45 there a few color picker that work great.
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