Displaying 1 result from an estimated 1 matches for "good_top".
Did you mean:
good_t
2009 Sep 30
5
A rails plugin to generate css sprite image automatically
...ly.
The project repository is here: http://github.com/flyerhzm/css_sprite
It is based on RMagick and you need only define a rule from what
source images to a destination image, as follows:
forum_icon_vertical.gif: # destination image file
sources: # source image file list
- good_topic.gif
- mid_topic.gif
- unread_topic.gif
- sticky_topic.gif
orient: vertical # composite gravity, vertical or horizontal
span: 20 # span of space between two images
Then run a rake task
rake css_sprite:build
So, you can see a forum_icon_vertical.gif generate...