Making width and flexible items play nice together

added by JavaScript Kicks
7/2/2019 7:09:07 AM

417 Views

The short answer: flex-shrink and flex-basis are probably what you're lookin' for. Let's say you want to align an image and some text next to each other with like this: Now let's say you reach for flexbox to make it happen. Setting the parent element to display: flex; is a good first start.


0 comments