arrow svg

which will be the best way to change the svg arrow when I click
No description
No description
6 Replies
MarkBoots
MarkBoots12mo ago
rotate: 180deg, optional with a transition --if this isn't enough information, you'll need to provide more information (read #how-to-ask-good-questions )
DoContra
DoContraOP12mo ago
sorry, basically this is a svg
DoContra
DoContraOP12mo ago
No description
DoContra
DoContraOP12mo ago
and i would like to know how i can change the svg when i click for dropdown but the rotate its a good way to go xD
MarkBoots
MarkBoots12mo ago
i guess JS is handling the dropdown menus. you could add an extra line that adds a class to the icon with the rotate
DoContra
DoContraOP12mo ago
yhea i think thats the best way, thanks
Want results from more Discord servers?
Add your server