Need some help

Does anyone know code that will make inverted pictures look normal
using it on a chrome addon called stylish

Do you mean inverted, as in color, or inverted, as in physical orientation?

Inverted colors. i can make the page inverted but i want to keep the images normal, sorry. i dont know coding just messing around with it.

If you're using it in Stylish, you are probably limited to what CSS can provide.

Before you bother with that, check out https://chrome.google.com/webstore/detail/high-contrast/djcfdncoelnlbldjfhinnjlhdjlikmph?hl=en

It probably doesn't do exactly what you want since it doesn't effect images only, but if that is the case, then here you go:

.normal {
filter: invert(0%);
}

.inverted {
filter: invert(100%);
}

That's an example of how to use it.

body {
filter: invert(100%);
},
img: {
filter: invert(100%);
}

That would invert the entire body of the web page, then invert the images back. So you'd get inverted colors on the web page, but the images would look normal. You probably just want the img: portion.

That alone should do it for you. Remove the : after img tho. Doing it on L1T, it's inverting all my user avatars, so it's working pretty good.

1 Like