The css generated below works fine in all browsers supporting data urls. These are all modern browsers up from IE8.
Have a look at this article at the mozilla developer network to learn more about it.

I know that this tool works in chrome, didn't test it elsewhere yet
Select one or more image file(s)
Select the image you want to use in your css
Result