0

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?

The KNVB
  • 2,684
  • 1
  • 23
  • 36

0 Answers0