I need to get all CSS properties for each classes which 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 duplicate, 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.