css - Include images as Inline in sass without Compass? -



css - Include images as Inline in sass without Compass? -

i want add together images base64 in sass. have been locking @ compass feels way bulky , not i'm looking for. there way include images or other files inline in css without using compass?

if utilize grunt, can utilize grunt-data-uri task in order accomplish conversation of regular url() string base64.

datauri: { dist: { src: ['dist/styles/*.css'], dest: 'dist/styles/', options: { target: [ 'img/low-res/embeded/*.*' ], fixdirlevel: true } } },

essentially, task every images contained within embeded folder in .css. there, convert url() base64.

css css3 sass

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -