Is it possible to read a CSS class attribute value before the class is added to an HTML element using javascript?
.myclass {
color: #00aa00;
}
For example, how can I read the "color" attribute value of "myclass" before the "myclass" added to an HTML element?