Comparing version 0.0.2 to 0.0.3
@@ -28,3 +28,3 @@ const imageSize = require('image-size') | ||
var classname = util.format(config.classnamePattern, size.filename) | ||
size.css = `.${classname}:before{ height : ${size.height}px ; width: ${size.width}px; display:block; content:''; background:url('${size.file}') no-repeat; }` | ||
size.css = `.${classname}{ display:inline-block; } .${classname}:before{ height : ${size.height}px ; width: ${size.width}px; display:block; content:url('${size.file}');}` | ||
size.html = ` | ||
@@ -31,0 +31,0 @@ <div> |
{ | ||
"name": "graphicss", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"bin": "cli.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
270120