D
D
Dobby_Narko2022-04-20 15:28:11
css
Dobby_Narko, 2022-04-20 15:28:11

How to make a smooth dropdown menu in pure js?

How to make a smoothly drop-down menu element with sub-items in pure JS or CSS?
So that when you click on the menu items, it would drop down smoothly.
Here is what I have
https://codepen.io/Shaltyr/pen/QWOeBXL
I also found what should be
https://codepen.io/fainder/pen/qBwBeO?editors=0110
But here on JQuery. And to me on pure JS.
Ideas were certainly, but so far unsuccessfully (((

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2022-04-20
@Rsa97

https://github.com/nefe/You-Don't-Need-jQuery

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question