glue
glue copied to clipboard
[Feature Request] Generate CSS based on %
First of all — great library. It’s a god-send.
What I would like to know is if you would consider adding background position based on percentage so that it will work with responsive layouts. An example of this implementation can be seen here: http://responsive-css.spritegen.com/
If there is already an option for this, please let me know as I can’t find it in docs.
Thanks!
Take a look at this doc, it may help: http://glue.readthedocs.io/en/latest/ratios.html
@scumah the link you posted above is for static retina generation. I need something that is responsive. As far as I know, the only way that it would work is to use percentage-based CSS. I have looked into the docs above already and that doesn’t work for me for as long as the CSS generated is based on pixels and not percentages.
Ah, sry then, I misread 😓