UNPKG

grunt-css2sprite

Version:

A grunt plugin to help front engineer creating css sprite.for from laoshu133/grunt-css-sprite @0.2.2

83 lines (68 loc) 3.27 kB
/* * icons * content:'"' */ .icon{display:inline-block;zoom:1; } a[href*='}{']::after{ content:'}{';} .icon_switch-off{background-position: 0 0;width:71px;height:29px} a[href*='}{']::after{ content:'}{';} .icon_switch-off{background-position: 0 0;width:71px;height:29px} .icon_switch-on{background-position: 0 -31px;width:71px;height:29px} .icon_tip-error{background-position: -73px 0;width:24px;height:24px} .icon_tip-ok{background-position: -73px -26px;width:24px;height:24px} .icon_tip-warn{background-position: 0 -62px;width:24px;height:24px} .icon_wait{background-position: -26px -62px;width:14px;height:14px} /* comments test */ /*.icon_switch-off{background-image:url("../slice/icon_switch-off.png");width:71px;height:29px} .icon_switch-on{background-image:url("../slice/icon_switch-on.png");width:71px;height:29px} .icon_tip-error{background-image:url("../slice/icon_tip-error.png");width:24px;height:24px} .icon_tip-ok{background-image:url("../slice/icon_tip-ok.png");width:24px;height:24px} .icon_tip-warn{background-image:url("../slice/icon_tip-warn.png");width:24px;height:24px} .icon_wait{background-image:url("../slice/icon_wait.png") !important;width:14px;height:14px}*/ .iocn_ext1{ background-position: -26px -62px;} .iocn_ext1{ background-position: -26px -62px; /* repeat test */} /* miss semicolon test */ .iocn_ext2{ height:14px; width:14px; background-position: -26px -62px;} .iocn_ext3{ background-image:url(../slice/icon_wait_nofile.png); /* no file test */} .iocn_ext4{ background: no-repeat;background-position: -26px -62px;} .iocn_ext5{ background:#fff no-repeat;background-position: -26px -62px;} /* path test */ .iocn_ext7{ background-image:url(/slice/icon_wait.png);} .iocn_ext8{ background-position: -26px -62px;} .iocn_ext9{ /* multi-line test */ background:url(/slice/icon_wait.png) no-repeat; background-image: no-repeat;background-position: -26px -62px; } .iocn_ext10{ /* content test */ content: '}'; background: no-repeat;background-position: 0 -62px; _background-image:url(../slice/icon_tip-warn.png); } #iocn_ext11{ background: no-repeat;background-position: -26px -62px; background-position: 0 -62px; content: '}'; } span{ background: no-repeat;background-position: -26px -62px; } /* ../../images/imageset/icon.png?20150326151249 */ .icon_switch-off, .icon_switch-on, .icon_tip-error, .icon_tip-ok, .icon_tip-warn, .icon_wait, .iocn_ext1, .iocn_ext2, .iocn_ext4, .iocn_ext5, .iocn_ext8, .iocn_ext9, .iocn_ext10, #iocn_ext11, span{ background-image: url(../../images/imageset/icon.png?20150326151249); background-image: -webkit-image-set(url(../../images/imageset/icon.png?20150326151249) 1x, url(../../images/imageset/icon@2x.png?20150326151249) 2x); background-image: -moz-image-set(url(../../images/imageset/icon.png?20150326151249) 1x, url(../../images/imageset/icon@2x.png?20150326151249) 2x); background-image: -ms-image-set(url(../../images/imageset/icon.png?20150326151249) 1x, url(../../images/imageset/icon@2x.png?20150326151249) 2x); background-image: image-set(url(../../images/imageset/icon.png?20150326151249) 1x, url(../../images/imageset/icon@2x.png?20150326151249) 2x); } .css_stamp{ content:"20150326151249";}