What is dynamic
The change in the screen triggered by user operation on the screen is called "dynamic".For example, the color of the button changes the moment you press the button.
How to change CSS dynamically
documents.getElementById ("id"). classList.add ("CSS class name");