About selection box

active-worker

New Member
Hi Guys,

Good day! I like to fix one thing. When clicked/touched anywhere in the selection box, two things happen, the contents of the selection box is shown and the 'v' symbol changes in a '^' symbol.

new.jpg


Any help is(GREATLY)appreciated .....

Thank you.
 
T

Tony Hardy

Guest
Can you link us to the live version? Or show us some code?
 

active-worker

New Member
Hi Tony Hardy,

Thanks for your reply. I am happy to say that I have already fixed this by using that code:

Code:
$(".nav-btn").click(function() {
    $(this).toggleClass("active");
});

nav-btn__arrow.active {
    transform: rotate(180deg);
}
nav-btn__content {
    display:none;
}
nav-btn__content.active {
    display:block;
}
 
Top