The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Change color of tab selector
Hi
how do I change the color of the tab selector when tab is selected? not the body of the tab or the text inside the tab selector.
here is css & html >>> https://css-tricks.com/functional-css-tabs-revisited/
thanks in advance.
Not exactly sure what element you mean. Maybe label? link to demo on this site
label
[type=radio]:checked ~ label { background: red; border-bottom: 1px solid white; z-index: 2; }