Conversaciones » Desarrolladores
How to add CSS code from JS code?
@JasonBarnabe написал: The problem is that if you are running this on Chrome, the
@-moz-document
will not be recognized. You can drop that part and rely on the script's@include
to do the filtering.You may also need to add
!important
to your CSS to ensure it beats the site's code.@JasonBarnabe написал: The problem is that if you are running this on Chrome, the
@-moz-document
will not be recognized. You can drop that part and rely on the script's@include
to do the filtering.You may also need to add
!important
to your CSS to ensure it beats the site's code.
Thank you very much!!! It works!!! <3
How to add CSS code from JS code?
Let assume I want to run such simple CSS code: