Design comparison
SolutionDesign
Solution retrospective
Is it good practice to write height or width code in percentage ? or it does not matter whether we use percentage or pixel.
Community feedback
- @AdezaynPosted almost 3 years ago
Writing height or width(layout's length basically) code in percentage is a type of responsive design principle called Fluid layout. It is a good practice for responsiveness.
Marked as helpful2
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