JSFiddle - React, Tailwind, and code Playground

HTML

<p>click to toggle the menu</p>

<div class="dropdown_wrapper">
  <div id="dropdown_content">Foo</div>
</div>

CSS

.dropdown_wrapper{ 
  overflow: visible;
  background: green;
  position:absolute;
}

#dropdown_content {
    background: red;
}

JavaScript

$(document).ready(function() {
    $(document).on('click', function() {
        $('#dropdown_content').toggle();
    });
});