0

I don't understand this value.

Outline-color:invert;

2nd Apr 2020, 5:12 PM
Mohamed 🇪🇬
Mohamed 🇪🇬 - avatar
6 Antworten
+ 1
"To ensure the outline is visible, performs a color inversion of the background. Note that browsers are not required to support this value; if they don't, this keyword is considered invalid." source: https://developer.mozilla.org/en-US/docs/Web/CSS/outline-color 'color inversion' means black will be white, white will be black, and so on (colors are replaced by their complementary color -- if I'm not mistaken yellow and blue are complementary for example)
2nd Apr 2020, 5:22 PM
visph
visph - avatar
+ 1
... of what's is on the screen when something is drawn (but I tried on my android tablet and that's not working too: I guess that support isn't wide at all!)
2nd Apr 2020, 5:46 PM
visph
visph - avatar
0
visph I tried it with white background but it doesn't take black value ? Did I misunderstand?
2nd Apr 2020, 5:35 PM
Mohamed 🇪🇬
Mohamed 🇪🇬 - avatar
0
Read again the second sentence of my previous quote ;)
2nd Apr 2020, 5:38 PM
visph
visph - avatar
0
visph I don't understand.... Complementary to what ? I mean the color of the outline is complementary to the color of ...?
2nd Apr 2020, 5:44 PM
Mohamed 🇪🇬
Mohamed 🇪🇬 - avatar
0
visph thanks for your interest.
2nd Apr 2020, 5:59 PM
Mohamed 🇪🇬
Mohamed 🇪🇬 - avatar