Hey I'm using webflow to create my web project. Webflow gives active links an class called .w--current
, that's their "active". So the link class looks like this when a webpage is open .nav__link .w--current
.
How can I give in this specific case the .w--current
element an ::before pseudo? I tried all kind of ways like .nav__link .w--current::before
or .nav__link:before .w--current:before
but none of them worked. Can I generally add an pseudo element to an CSS class which is at the second position?