DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Discussion on: Responsive Design CSS tips

 
fidalmathew profile image
Fidal Mathew Author

Thank you for your valuable suggestion, really appreciate it!!
I will definitely add { box-sizing: border-box; } ,
thank you for pointing it out 😊 and totally agree with the content-box problem.

Thread Thread
 
awps profile image
Andrew Surdu

Matthew Morete, maybe I got misunderstood, but I actually meant that CSS Grid is good to use instead of flex, but not for everything. In fact, it's recommended to use a combination of both. Where each of them fits better. The main point is to not ignore the CSS grid completely.

Thread Thread
 
thomasjunkos profile image
Thomas Junkツ • Edited on

good to use instead of flex

Why not combine both?

Thread Thread
 
fidalmathew profile image
Fidal Mathew Author • Edited on

Combine both? Could you give an example?

Thread Thread
 
thomasjunkos profile image
Thomas Junkツ
Thread Thread
 
fidalmathew profile image
Fidal Mathew Author

Got it! Thanks for sharing:)

Some comments have been hidden by the post's author - find out more