@tiagobw
Posted
Hi Nguyen,
For the Desktop view:
1
To use CSS Grid instead of Flexbox, change the main
styles to:
main {
display: grid;
grid-template-columns: repeat(3, 20rem);
}
For the mobile view:
1
To use CSS Grid instead of Flexbox, change the main
styles to:
main {
display: grid;
grid-template-columns: 20rem;
}
2
@Hersonmei's answer is already great.
I hope that helps.
Have a great day. :)
Marked as helpful
@jesuisbienbien
Posted
@tiagobw thank you. it's very helpful :D