Answer the question
In order to leave comments, you need to log in
How to make title color white on activation?
There are tabs with target text (First tab, Second tab, Third tab, etc.). How to make the title color (First tab, Second tab, Third tab, etc.) white when activating one or another tab? hover, link, visited are not suitable.
Answer the question
In order to leave comments, you need to log in
add a class on click using js
or
add a hidden checkbox to the block with the tab heading before the text and write something like input:checked+a{color: white} in css
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question