Crates.io | compass-sprite |
lib.rs | compass-sprite |
version | 0.0.3 |
source | src |
created_at | 2015-04-18 15:06:55.838709 |
updated_at | 2015-12-11 23:58:10.571132 |
description | Implement sprites for CSS usage on a web page |
homepage | https://github.com/compass-rs/sprite |
repository | https://github.com/compass-rs/sprite.git |
max_upload_size | |
id | 1891 |
size | 12,577 |
Work in progress towards implementing Compass' sprite helpers: http://compass-style.org/reference/compass/helpers/sprites/
[Travis build status:] (https://travis-ci.org/compass-rs/sprite) ![Travis build status] (https://travis-ci.org/compass-rs/sprite.svg?branch=master)
Documentation: http://compass-rs.github.io/sprite/
This is work in progress. To test that it works run the examples
cargo run --example build-sprite data/my-icons/
Running `target/debug/examples/build-sprite data/my-icons/`
.edit3 {
background-url: url('/imagesbuild-sprite-out/sprite.png') -64px 0 no-repeat;
}
.edit1 {
background-url: url('/imagesbuild-sprite-out/sprite.png') 0 0 no-repeat;
}
.edit2 {
background-url: url('/imagesbuild-sprite-out/sprite.png') -32px 0 no-repeat;
}