@Hassiai
Posted
To center .cars on the page using grid, add min-height: 100vh to the body.
In the modile design , there is no need to give . cars a min-width value, reduce the max-width value for .cars e.g: .cars{ max-width: 350px;}
give .content the same padding value for all the sides. .content{ padding: 3rem;}
In the media query increase the max-width value for .cars e.g: .cars{max-width: 900px}
there is no need to give .cars a margin value.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
@myrojoylee
Posted
@Hassiai I'm going to need more practice on this...I end up putting min width, regular width, max width, and then I get confused what is really needed. Sometimes my item won't center without it, but maybe it's because i didn't add min-height like you said. i'm driving myself crazy!
@Hassiai
Posted
@myrojoylee, it drives me crazy as well, as you said with more practice you will get familiar with it. Cheer up, you will soon become a pro. :) :)