Created
December 9, 2013 16:28
-
-
Save oraricha/7875175 to your computer and use it in GitHub Desktop.
*printable* image replacement Sass mixin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// *printable* image replacement | |
@mixin printable-image-replacement($imageUrl) { | |
display: list-item; | |
list-style-image: url($imageUrl); | |
list-style-position: inside; | |
letter-spacing: -1000em; | |
font-size: 1pt; | |
color: #fff; | |
height: image-height($imageUrl); | |
width: image-width($imageUrl); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment