Location:Home > JS special effects code > CSS3 animation

CSS3 switch navigation bar color style plugin

2020-06-25 174views
You read that right, there is no js code to switch colors, just css code can achieve style switching. Just define the style like this: #indigo:target ~ #nav ul{...}