I need to get all css properties for each classes wich matched a element.
I have the classnames of my element from
this.className
How can I now get all the css-styles for each classname?
Maybe I must compare or search in the stylesheets?
var sheets = document.styleSheets;
I only know the way to get the css-styles for the element but not for the classname.
Thanks for helping.
Update This is no duclicate, i'm not looking for all kind of css properties. I looking specially only for the properties of a css-class, so i think it's a unique question.