Design comparison
Solution retrospective
I would like to know better ways to make this design with pure css.
Community feedback
- @smarko-webPosted almost 2 years ago
First off, Congratulations on your project!
Some improvements:
- Add minimum height to the body (use
vh
unit) to have everything wrapped in thebody
- The way I did mine is using flex box, I encourage you to learn it and apply it to the card
Hope that helps
Marked as helpful0 - Add minimum height to the body (use
- @SinisaVukmirovicPosted almost 2 years ago
Hello!
That's an... interesting way to make it responsive... Sadly, that's not the right way.
Its a lot of work, plus, it doesn't look that good. And this is a simple, tiny project, single card, what when you do a bigger, full page/screen project?
Check out others code solution to get the idea how its done.
Good luck!
Marked as helpful0 - @HassiaiPosted almost 2 years ago
Replace <div class="row"> with the main tag to fix the accessibility issues. <div class="attribution"> must be within the footer tag not in the main/ <div class="row">
Give p a font size of 15px.
Increase the Width of .attribution for it match the width in the design and decrease the margin value for .textarea.
Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on CSS units watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful HAPPY CODING
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