The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How to change the text color when background is active?
As i describe at the title i want to change my text-color when the background is active. Any ideas??
What do you mean by ‘Active’?
A background can’t be ‘active’ as far as I can think.
Are you trying to highlight a current page link or do something else?
Let me explain, i have a vertical slider and the and the background of each element changes color every few seconds. What i want to do is when the background changes color the text should change too.
What causes the background to change?
This doesn’t sound like a CSS issue…it sounds like something JS could/should be handling?
Unless you are using a CSS animation of course?