Re:Grd – A CSS grid framework using Flexbox in 512 bytes gzi...
by richthegeek on Wednesday March 16, 2016 @08:35AM
(#11296757)
The "dist" version has all this removed.
It's a pretty odd use for a preprocessor.
Each mixin is only used once (so why bother?) and the calcs are turned into percentages by the compiler (so why bother?)
Re:Grd – A CSS grid framework using Flexbox in 512 bytes gzi...
by gotchange on Wednesday March 16, 2016 @10:30AM
(#11297587)
Is there a way to work around this limitation?
I have a CSS code that looks like this for a good reason:
left: calc(100% + 2em)
that I'd like it to be changed to support legacy stock Android browsers.
The source leverages calc for simple width percentages, so on android browser below 47 these values won't calculate at all: http://caniuse.com/#feat=calc.
> Partial support in Android Browser 4.4 refers to the browser lacking the ability to multiply and divide values.
Why wouldn't the author change this to:
.Cell.\-1of12 { width: calc(100% * 3 / 12); }
to
.Cell.\-1of12 { width: 25% ; }
It seems silly to go through the trouble of installing a lib when it gives you less browser support than flexbox itself.