JSFiddle - React, Tailwind, and code Playground

HTML

<p id="menu-open">open</p>
<p id="menu-close">close</p>

<div class="wrapper">wrapper</div>

JavaScript

jQuery('#menu-open').click(function(){
    jQuery('.wrapper').css({ boxShadow: '0 0 3px rgba(0,0,0,0.75)'});
});
jQuery('#menu-close').click(function(){
    jQuery('.wrapper').css({ boxShadow: ''});
});