Last active
December 29, 2015 15:19
-
-
Save tx2z/7689842 to your computer and use it in GitHub Desktop.
FamFamFam flags sprite (with compass) - http://jesus.perezpaz.es/2013/11/famfamfam-flags-sprite-with-compass
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
<div class="flag flag-fr"></div> |
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
@import "compass/utilities/sprites/base"; | |
@import "flag/*.png"; | |
$flags: sprite-map("flag/*.png"); | |
.flag { | |
display: inline-block; | |
@include sprite-dimensions($flags, fr); | |
} | |
@include all-flag-sprites; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment