Nicolas Hoizey
Nicolas Hoizey
Column and row gaps currently only allow for pixel values. Adding other units (like `vw`, `vh`, `em` and `rem` at least) would be useful.
IHMO, You should add other links to help navigate from a CSS to another: previous, next, maybe even random.
- https://web.dev/web-share-target/ - https://justmarkup.com/articles/2020-02-11-share-images-to-your-website/
Much better for accessibility: https://twitter.com/DasSurma/status/1553634641491509248
Refs #191
**Describe the solution you'd like** Add a preload tag for an image, for LCP optimization. **Describe alternatives you've considered** Add a data attribute to the image?
Linear width steps lead to exponential weight steps, because `weight ~= width^2` Use a log function to make width steps decrease progressively.
There are Jest tests for the core library `images-responsiver` in https://github.com/nhoizey/images-responsiver/tree/main/packages/images-responsiver/__tests__ But there are no tests yet for `eleventy-plugin-images-responsiver`, the plugin for Eleventy.
It would probably ease maintenance, simplify/enhance testing, and allow other usages.