javascript - How to get element font-size inline style when there is more than 1 font-size css -


i need font-size value of elements style, due important css can't inline one.

style image

how can inline font-size value? in advance

how abaout reading manually style tag:

var fontsize = $('.link-item').attr('style').match(/font-size:\s*(.*?);/)[1]; 

Comments