Design comparison
Solution retrospective
Feedback appreciated Not sure how to go about making the mobile design. Is there a way to make a seperate mobile design or is there a better way?
Community feedback
- @BikeInManPosted almost 3 years ago
There is no more separate coding for mobiles and desktops. That's the beauty of responsive css. Its much simpler than you may be thinking.
All it needs is changing layouts for different sizes of screens. It is achieved with choosing a screen size ( a break point) where you want a different layout and slightly adjust the layouts.
For e.g, if you have used
grid
orflex
for desktops, you can change themblock
for smaller screens, which makes all the elements stack up.But it takes time to learn them. I usually start here. https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/CSS_Layout
But there are plenty of videos and tutorials out there. Good Luck.
0 - @GitHub-dev12345Posted almost 3 years ago
Congratulation complete the challenge: My Suggestion
Used this code want your card in center position :
in body tag Used this CSS Code: body{ display : flex; justify-content: center; align-item: center; }
And frontend mentor challenged in style.readmefile to check to font family given and apply in your challenge; and give the padding & margin main container
0 - @Kamasah-DicksonPosted almost 3 years ago
Your solution is not responsive on Mobile. So always remember mobile first approach . so try using grid template column 1fr here on mobile and use media quaries E.g @media-screen and (min-width:768px{ .card{ //Responsive function here } }
To change the layout to this current design Besides good job keep coding👍
0 - @EmmanuelHexerPosted almost 3 years ago
Great work, you can search on how to use media queries to make your design responsive. You can also check out my design
0
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