Design comparison
Solution retrospective
I ended up hard coding dimensions for my card at different media sizes - how common is that when working at a company? Should I have focused longer on making it fully responsive at different widths?
Thanks!
Community feedback
- @realsalePosted over 2 years ago
Yo! Eric
Combination of fixed sizes and
@media
query isn't uncommon, It's still somewhat responsive since you're actually changing it's dimension at differentbreakpoints
However it is always better to be flexible most of the time, as it allows you to support and target more screen sizes and devices.
Instead of using just
width
try to understandmin-width
andmax-width
property. Same goes withheight
usingmin-height
andmax-height
property for vertical dimensions.And also the use of
relative units
(em, rem, % etc...).When working on the company or any other clients, most of the time the provide pre-made wireframes and mockups for their target audience and or devices
Marked as helpful0
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