Answer the question
In order to leave comments, you need to log in
How to redirect from port to main domain with folder?
Now the site works at site.ru:3001/#/erc20/
How to make it so that when you go to site.ru it automatically throws at: 3001/#/erc20/
BUT! at the same time, :3001/#/erc20/ itself was hidden
by type: - Do you see the gopher? No. And he is!
Answer the question
In order to leave comments, you need to log in
Unfortunately, the standard select and options tags don't lend themselves to such flexible customization.
This can be done fairly easily with divs and Vue.js. I quickly sketched a variant:
https://codepen.io/kolesnikovcode/pen/jjvZyJ
Nothing complicated at all, you can do it without resorting to large frameworks, for example, using jQuery to hide or show a wrapper for the dropdown menu by clicking on the "choose a question" block ...", and the arrow on the side can be given or removed with a class in which transform is written: rotate(180deg);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question