wjw Posted June 15, 2006 Share Posted June 15, 2006 Is there a CSS attribute/value to invert the background and text color? I tried using the outline-color: invert but it didn't seem to do what I was looking for. I can explicitly set the color and background-color, but I'd rather just have it invert whatever the parent's colors are. I'd rather not invert the border color, but can work around that by not having borders on the inverted div.Any help is appreciated.Thanks! Link to comment Share on other sites More sharing options...
pulpfiction Posted June 15, 2006 Share Posted June 15, 2006 Try Filter: Invert; this inverts colors.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now