Js creates style tags and adds css styles. Only some styles are valid.

I am making a module of the rotation graph. I use js to create a style tag and add the css style of each structure of the rotation, and then the style of the picture takes effect, but the style of the controller dot is invalid, and adding Important is useless. Writing the code to the linked css file alone can take effect

clipboard.png

clipboard.png

Mar.19,2021

numbers and percent signs should be affixed with no spaces. Correct: 100% , error: 100%


although your problem has been solved upstairs, I would also like to add that your way of writing is incorrect. You can declare a class .c first, and then add or remove class c

to the tag via js.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b3a6-2c272.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b3a6-2c272.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?