Closed gavinmcfarland closed 3 years ago
:root
To avoid rewriting all width
and flex-basis
properties, we can make a variable available which will then employ the polyfill for that property.
For example:
.flex_item {
flex-basis: calc(50% - var(--flex-gap));
}
The polyfill will do the rest.
For example all width's are currently re-written for reliability but this comes at a cost of larger CSS file.