Closed ericwaetke closed 5 years ago
Try using this on your element:
.darkmode--activated .element {
mix-blend-mode: difference;
}
Yup, that works! Was that on the website already and I just didn't see it?
Yep.
这个依然不能生效:
.darkmode--activated .element { mix-blend-mode: difference; }
这个属性可以生效,但是发现会有一瞬间的闪动:
.darkmode--activated .element { filter: invert(1) hue-rotate(180deg); }
The Dark-Mode exclusion works perfectly on all "normal" objects. But when I add either a position of fixed, sticky, absolute or relative, It doesn't anymore. Same with transforms etc.