Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Div with fixed width How to make responsive ? - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y ago
•
9 replies
roelof
Div with fixed width How to make responsive ?
Hello
,
On the CLR course I learned that a fixed with with px is never good
.
But now I want to try to make this challenge
:
https://www.frontendmentor.io/challenges/qr-code-component-iux_sIO_H
and it looks to me that the card has a fixed width on both mobile and desktop
.
Is it good for this case to use a fixed width in px or can still beter use
% and then a width and a max
-width
?
Frontend Mentor
Frontend Mentor | QR code component coding challenge
A perfect first challenge if you
're new to HTML and CSS
. The card layout doesn
't shift
, so it
's ideal if you haven
't learned about building responsive layouts yet
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
how to make this div responsive ?
KP-C
Kevin Powell - Community / front-end
17mo ago
fixed width and height responsive
KP-C
Kevin Powell - Community / front-end
2y ago
How to make the following div responsive?
KP-C
Kevin Powell - Community / front-end
3y ago
How to make <div> fit image width
KP-C
Kevin Powell - Community / front-end
3y ago