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
  • 3,588
  • 3
  • 29
  • 54

0 Answers0