Name : perl-Mojolicious-Plugin-Sprite
| |
Version : 0.01
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.3.1
| Date : 2023-01-27 18:27:00
|
Group : Development/Libraries/Perl
| Source RPM : perl-Mojolicious-Plugin-Sprite-0.01-lp154.3.1.src.rpm
|
Size : 0.07 MB
| |
Packager : https://www_suse_com/
| |
Summary : Let You Easy Introduce and Maintain Css Sprites in Your Web-Site
|
Description :
This plugin parses HTML out and converts images into sprites according to rules of configuration file,
In other words, HTML tag < img src=\"icons/img1.gif\"> will be converted to < span class=\"spr spr-icons-img1\"> and will be used CSS like:
.spr { display: -moz-inline-stack; display: inline-block; zoom: 1; *display: inline; background-repeat: no-repeat; } .spr-icons-img1,.spr-icons-img2 { background-image: url(\'/sprites/sprite.png?1376352016\') !important; } .spr-icons-img1 { background-position: 0px 0px !important; width:32px; height:32px; } .spr-icons-img2 { background-position: 0px -32px !important; width:48px; height:48px; }
For generating sprites you can use the CSS::SpriteBuilder manpage module.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/15.4/noarch |