Layout using HTML and CSS, MediaQueries included
Design comparison
Solution retrospective
I'm pretty upset with the MediaQueries and Standart layout css code, I had big trouble making them work together. So if you can provide me any feedback, what should I do to make my websites be more responsive, I would be really grateful!
Community feedback
- @aUnicornDevPosted over 3 years ago
With your current implementation of the Desktop version,
Instead of using
left:40%;
on.team-builder
and.karma
, you can useleft:50%; transform:translateX(-50%);
this will centrally align the card( because the left 50% will move the card to the starting of 50% and translateX(-50%) will move the card width in the negative x axis by 50%).Also you can have equal percentages on the
.calculator
and.supervisor
classes.Marked as helpful1 - @palgrammingPosted over 3 years ago
Well this is a good project for Grid-Template-Areas aligning the cards with this method it makes them fast to reorder and change the layout
1@SmoothCrimminalPosted over 3 years ago@palgramming Yeah maybe I should use Grid instead, but I don't know it very well yet. I guess it's about time to learn it.
0@palgrammingPosted over 3 years ago@SmoothCrimminal well this is a free short course that should help get you up to speed with grid without much effort https://cssgrid.io/
1
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