, - CSS, , , . , . , CSS , ( ). , javascript, , . javascript. jquery, .
HTML is not intended to be dynamic; it is just a document format, more or less. I don't think CSS was designed for great dynamism by simply changing styles on certain events. Therefore, I think, because changing the content does not change the style, it is either impossible or not a very beautiful way to do it.
Good luck
source
share