You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MacBook Pros have retina screens and use double density icons. Basically a 100x100 icon would be displayed in a 50x50 space on the screen.
To support with Stitches:
Change default padding from 5px to 4px so it's always divisible by 2
Add an option to output a Retina-friendly spritesheet:
Include background-size: x y to resize the image, where x is half the width and y is half the height of the image (eg. background-size: 250px 100px for a 500px by 200px spritesheet)
MacBook Pros have retina screens and use double density icons. Basically a 100x100 icon would be displayed in a 50x50 space on the screen.
To support with Stitches:
background-size: x y
to resize the image, wherex
is half the width andy
is half the height of the image (eg.background-size: 250px 100px
for a 500px by 200px spritesheet)background-position
valuesMore information: http://miekd.com/articles/using-css-sprites-to-optimize-your-website-for-retina-displays/
The text was updated successfully, but these errors were encountered: