DEV Community

loading...

Discussion on: Understanding Flexbox with Cats: Part 1 Basics

Collapse
kefimochi profile image
Kate Efimova Author

I wanted to cover it in the part 2 of this series :) There are various ways to do it that include setting left and right padding on individual cards(lets say there's a class .cards and all cards inside it have a class of .card), so on every .card. You can also set a certain limiting width inside of .cards(or do something like width: 100%; height: auto; padding: 5em;)