sanjar-notes / web_dev_fundamentals

The basics - HTML, CSS, Javascript and more
https://sanjar-notes.github.io/web_dev_fundamentals/
3 stars 0 forks source link

Use basis/grow/shrink over width/height when flex involved #105

Open sanjarcode opened 9 months ago

sanjarcode commented 9 months ago

Use basis/grow/shrink over width/height when flex involved

I prefer to use flex params for flex stuff, will keep doing so. Makes styling consistent with React Native as well, as flex is a primary construct there. This is recommended way too (cite?)

note: Using width/height on container is fine, of course.