I normally declare my flex
properties in a simple manner:
.flex-item {
display: flex;.
justify-content: space-between;
flex-direction: row;
flex-wrap: nowrap;
}
All of the fallbacks for this are:
.flex-item {
display: -webkit-box;
display: -ms-flexbox;
display: flex;.
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
}
Repeated over hundreds of elements, this increases the file's size by a lot. Is this really, really necessary, assuming:
- I care that as many people get to experience the site.
- I care about bandwidth.