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

Investigate Retina js for iOS and iPad versions of editors #156

Open
STRd6 opened this issue Apr 21, 2012 · 1 comment
Open

Investigate Retina js for iOS and iPad versions of editors #156

STRd6 opened this issue Apr 21, 2012 · 1 comment
Labels

Comments

@STRd6
Copy link
Owner

STRd6 commented Apr 21, 2012

http://retinajs.com/

@mdiebolt
Copy link
Collaborator

I wrote a SASS mixin to do this with PollEverywhere and it works well.

=mobile-image($name, $background_position: 50%)
  background: inline-image('../images/#{$name}.png') $background_position no-repeat

  @media all and (-webkit-min-device-pixel-ratio: 1.5)
    background: inline-image('../images/#{$name}@2x.png') $background_position no-repeat

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