@chungvuiloong
Posted
Hi mcasti19,
Congrats on completing and tackling a grid component!
I love how the cards decorated exactly like the given design.
May I suggest these following code to help get it centered?
body { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
main { margin: 0 auto; }
Please let know me how it works. Lets think of a centering solution together
@mcasti19
Posted
@jirimicvl Hello, thank you very much for your comment and your suggestion.
I tried adding the code that you told me, I added it for the desktop size and it works excellent if I have a full screen (f11) or from the browser's responsive tool, but when I see it on a normal screen, it is very large and the edges at the top and bottom They can't be seen and the scroll doesn't work for me