When the user clicks on the search icon, I want to display the search field as an overlay. Currently, the overlay is working but the search input field is appearing in the middle vertically.
<a href="#overlay" id="open-overlay">Search</a>
<div id="overlay"> <a href="#" class="close">X</a>
<div class="s-wrapper"><input value="" placeholder="Search"/></div>
</div>
This overlay relies on a pure CSS solution since I am unable to use a script-based overlay in this scenario.