diff options
author | German M. Bravo <german.mb@deipi.com> | 2011-02-20 19:56:37 -0600 |
---|---|---|
committer | German M. Bravo <german.mb@deipi.com> | 2011-02-20 19:56:37 -0600 |
commit | 6dc90d90b353bc055b461f652387f2fc4b63408e (patch) | |
tree | 980106a76a92a3b7bec09748e443c80e75957f93 /README.rst | |
parent | 3ccce0a79dd857b1f9b4d464a916e0fb8d6cdf53 (diff) | |
download | pyscss-6dc90d90b353bc055b461f652387f2fc4b63408e.tar.gz |
Sprite maps improved with cache
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -171,9 +171,10 @@ Examples background: $icons; } @each $icon in sprites($icons) { + $icon_file: sprite-file($icons, $icon); div .$icon { - width: image-width(sprite-file($icons, $icon)); - height: image-height(sprite-file($icons, $icon)); + width: image-width($icon_file); + height: image-height($icon_file); background-position: sprite-position($icons, $icon); } } |