bfgeek.com/flexbox-imag...
This technique maintains image aspect-ratios, and ensures there is no additional free space (full-bleed).
Let me know what you think!
(@bram.us - I got around to this!)
WebKit/Firefox have the same optimization in that they use (effectively) a linked-list of HashMap(s).
There are some performance cliffs with this - lookups can be slow, e.g. you check a HashMap, then check its parent, etc.
WebKit/Firefox have the same optimization in that they use (effectively) a linked-list of HashMap(s).
There are some performance cliffs with this - lookups can be slow, e.g. you check a HashMap, then check its parent, etc.
bfgeek.com/flexbox-imag...
This technique maintains image aspect-ratios, and ensures there is no additional free space (full-bleed).
Let me know what you think!
(@bram.us - I got around to this!)
bfgeek.com/flexbox-imag...
This technique maintains image aspect-ratios, and ensures there is no additional free space (full-bleed).
Let me know what you think!
(@bram.us - I got around to this!)
It extends the existing column-rule-* properties to work for all gaps in an intuitive way. If you are interested I'd encourage you to try it out.
The repeat() syntax is really nicely with arbitrary sized grid/flex.
Learn more: developer.chrome.com/blog/gap-dec...
Try it out (current Canary w/experimental web platform features flag): microsoftedge.github.io/Demos/css-ga...
It extends the existing column-rule-* properties to work for all gaps in an intuitive way. If you are interested I'd encourage you to try it out.
The repeat() syntax is really nicely with arbitrary sized grid/flex.
https://groups.google.com/a/chromium.org/g/blink-dev/c/qvfOyAVePfs/m/S04XMmTlCwAJ
https://groups.google.com/a/chromium.org/g/blink-dev/c/qvfOyAVePfs/m/S04XMmTlCwAJ