I want to get the displayed dimensions of a CSS background-image when it is resized using CSS3 background-size property.
The web is filled with solutions to get the native/original width or height like this one - How do I get background image size in jQuery?
I know that I can get the value of background size with .css('background-size') and use regex to extract the width and height but that does not work if cover, percentage values or auto is used.