Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixin doesn't support background-size cover or contain #242

Open
jeffdaley opened this issue Jun 16, 2016 · 1 comment
Open

Mixin doesn't support background-size cover or contain #242

jeffdaley opened this issue Jun 16, 2016 · 1 comment
Labels

Comments

@jeffdaley
Copy link

@include at2x('imagename', jpg, contain); outputs to background-size: contain, auto,which is invalid.

I could try @include at2x('imagename', jpg, contain, contain);, but that's also invalid.

Thanks for taking a look. Appreciate any help!

@strues
Copy link
Owner

strues commented Jun 17, 2016

Hi @jeffdaley,

Take a look at https://github.com/imulus/retinajs/blob/2.0/src/_retina.scss
You should find what you're looking for in that mixin.

@strues strues added the legacy label Jun 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants