0
I don't understand this value.
Outline-color:invert;
6 Réponses
+ 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)
+ 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!)
0
visph I tried it with white background but it doesn't take black value ? Did I misunderstand?
0
Read again the second sentence of my previous quote ;)
0
visph I don't understand.... Complementary to what ? I mean the color of the outline is complementary to the color of ...?
0
visph thanks for your interest.