I am just wondering how to make a dropdown menu with another dropdown inside of it, so for instance:
Dropdown Title
Title 1
Title 2
Item 1
Item 2
Item 3
Title 3
I have made a single dropdown menu so far:
<li class="dropdown">
<a class="dropbtn">Novel</a>
<div class="dropdown-content">
<a class="dropbtn"><h3>Volume 1</h3></a>
<a href="index1.html">Chapter 1</a>
<a href="index2.html">Chapter 2</a>
<a href="index3.html">Chapter 3</a>
<a href="index4.html">Chapter 4</a>
<a href="index5.html">Chapter 5</a>
<a href="index6.html">Chapter 6</a>
</div>
</li>
I have literally no idea how to make the second dropdown menu - which will come from the "Volume 1" h3. I also think it will be best to keep it in the vertical orientation. Thanks in advance.
I don't know if this is still relevant but here is what I did with plain CSS.
To avoid the main dropdown to hide when hovering over the second dropdown you want to make sure to use a div for the main dropdown and inside it a second div for the inside dropdown as show.
HTML
CSS
Click here for a CodePen preview
Use Bootstrap class as it will gives you option for multilevel drop-down
See this link for help