The easiest way is to ignore this one <div>, create a new one with the class that interests you, and check its style attributes. You need to add it to the DOM so that it can use the CSS of the document.
var div = $('<div>').addClass('css-1').hide();
$('body').append(div);
var width = div.css('width');
div.remove();
source
share