Short answer: You cannot get a css property from a class that is not applied to any element. However, you can directly read it from a CSS stylesheet and you can do this by using DOM CSS
And then maybe have something like:
var bgimage = myStyleSheet.cssRules[0].style.background-image;