Get inline css width property from element jQuery [duplicate]

This question already has an answer here: get CSS rule's percentage value in jQuery 12 answers I have this element: <div class=”progress xs” style=”margin-bottom: 0px; height: 3px;”> <div class=”progress-bar progress-bar-green” style=”width: 100%;”></div> </div> I want to get the inline css property width. I tried to do this: $(“.progress”).find(“.progress-bar”).css(‘width’); Which should return ‘100%‘ but returns 638px…