File: sprite.scss

package info (click to toggle)
golang-github-wellington-go-libsass 0.9.2%2Bgit20181130.4ef5b9d-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,128 kB
  • sloc: cpp: 28,607; ansic: 839; makefile: 44
file content (7 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
$sprites: sprite-map("../img/*.png");
$width: sprite-width($sprites, 139);
div {
    height: image-height(sprite-file($sprites, "139"));
    width: image-width(sprite-file($sprites, "139"));
	background: sprite($sprites, "139");
}