I just writing a userscript, for override the page native style.
I have a part of CSS:
foo#bar {
background-color: black !important;
color: red !important;
font-size: 14px !important;
font-weight: bold !important;
position: absolute !important;
top: 20px !important;
right: 200px !important;
z-index: 999 !important;
}
can I mark whole group with !important
? Like this:
foo#bar !important {
background-color: black;
color: red;
font-size: 14px;
font-weight: bold;
position: absolute;
top: 20px;
right: 200px;
z-index: 999;
}
(It just a demo, I know that is not work.)
Non-English native speakers, so sorry.