Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1307

How do I set CSS3 flex-basis property using Bootstrap Flex?

$
0
0

Using CSS3 I can individually set the flex properties like so

.someclass {    flex-grow: 1;    flex-shrink: 1;    flex-basis: auto;   }

Using Bootstrap (version >= 4.1) flex it seems I can only set flex-grow-X and flex-shrink-X, like so

<div class="someclass flex-grow-1 flex-shrink-1">...</div>

Is there are way to set the flex-basis using bootstrap 4.1?


Viewing all articles
Browse latest Browse all 1307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>