When working on my WP 4.2 project, I encountered a situation in the CSS file where I had to write:
background-image: url('/wp-content/plugins/artistssongs/images/fancybox_sprite.png');
However, I find it inconvenient to display the full path to the image located inside the plugin, and I am unable to use PHP/WordPress constants like WP_PLUGIN_URL. What could be a possible solution for this?