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

Article: "The real retina sprite mixin" #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Article: "The real retina sprite mixin" #22

wants to merge 3 commits into from

Conversation

aleksandargosevski
Copy link
Contributor

I've added article in advanced category about creating mixin which handles scaling and calculating new positions for regular and retina sprite.

@jlong
Copy link
Member

jlong commented Feb 7, 2014

Thanks for working on this! Good work. Hopefully I'll have a chance to get it edited and posted this weekend.

@aleksandargosevski
Copy link
Contributor Author

I saw later that I didn't created branch. Sorry for that.

@jlong
Copy link
Member

jlong commented Feb 9, 2014

@salencebg Which breakpoint library are you using?

@aleksandargosevski
Copy link
Contributor Author

@jlong Oh sorry, I forgot about that. I used my own mixin, but we can replace it in article with regular retina media query.

@media only screen and (-webkit-min-device-pixel-ratio: 2),
    only screen and (min--moz-device-pixel-ratio: 2),
    only screen and (-o-min-device-pixel-ratio: 2/1),
    only screen and (min-device-pixel-ratio: 2),
    only screen and (min-resolution: 192dpi),
    only screen and (min-resolution: 2dppx) {

}

@jlong jlong added the article label Feb 10, 2014
@jlong
Copy link
Member

jlong commented Feb 24, 2014

@goschevski Sorry to sit on this for so long. I took another look at this over the weekend. I feel like the article needs a bit more explanation. You need to walk us through it a little more. I created a test project to play around with the ideas here:

https://github.com/thesassway/retina-sprites

Also, we don't have an article about spriting with Compass in general. Maybe it would be a good idea to write about that first and come back to the retina article after that. I'm worried that it won't make a lot of sense to people who aren't that familiar with how spriting works with Sass and Compass. Would you have time to take a look at that?

@aleksandargosevski
Copy link
Contributor Author

@jlong Yeah, I agree with you. I'll write article about spriting in compass, and maybe we can edit together this article about retina sprite to be more understandable. Btw, cool tricks on sass conf. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants