Make a simple dropdown menu with bare HTML!
Use the following code:
<details>
<summary>This text will always be visible</summary>
This text is hidden until the dropdown is clicked
</details>
Make a simple dropdown menu with bare HTML!
Use the following code:
<details>
<summary>This text will always be visible</summary>
This text is hidden until the dropdown is clicked
</details>
For further actions, you may consider blocking this person and/or reporting abuse
Ethan -
AbuBakar Shabbir -
Ahmet Erkan Paşahan -
Kaja Uvais -
Top comments (2)
You can embed the codepen in here
Then you can show it like this:
I did not know that! I'll get it done.