
3 Column Responsive Card Using CSS Flex
Design comparison
Solution retrospective
I am proud because I have successfully created a Responsive Project
What challenges did you encounter, and how did you overcome them?I encountered the challenge to make the website responsive in mobile design.
But when I fixed the height of html and body at 125%, it easily solved
What specific areas of your project would you like help with?In mobile design, I have encountered that the upper side of the card vanishes completely, But when I set the height of html and body to 125%, it was solved.
Please let me know, if you have a better way to solve this
Community feedback
- @MarziaJaliliPosted about 2 months ago
Awesome!
Some tips to consider in your projects
-
First, while your code is generally well-structured, consider using more semantic HTML elements. For example, you could use
<section>
for each card. -
Second, using
grid
for centering is more simple thanflex
:
body { display: grid; place-items: center; }
- Also, using
px
forfont-size
is not really considered good practice. It turns out that usingpx
causes some issues. I suggest you userem
unites instead.
The solution looks great overall, keep up the grind.
😎😎😎
1P@danielmrz-devPosted about 2 months ago@MarziaJalili How'd you make the words "body" and "display" red on your comment?
That's nice. It makes the comment even easier to understand.
1@MarziaJaliliPosted about 2 months ago@danielmrz-dev hi,
Yes, it does make it easier to understand.
@skyv26 walked me through the steps like this:
start with ```
then add the language like html name alongside the like this ``` html and then add your html content and finally put three tilde sign at the end. and you will get
<h1> Trust me you can do it </h1>
make sure no space between ` tilde sign.
""" ```html <h1> Trust me you can do it </h1> ``` """
If you need further details, let me know.
😎😎😎
2@skyv26Posted about 2 months ago@MarziaJalili ❤️❤️❤️❤️❤️❤️ (This is what i want, spread knowledge)
2P@danielmrz-devPosted about 2 months ago@MarziaJalili Thank you!
<h1>Testing</h1>
Got it! 😉🙋🏽♂️
@skyv26 Thank you too!
2 -
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