Check out my HTML:
<div class="form3">
<form>
<input type="text" name="search" placeholder="Type your search here...">
<button><i class="fa fa-search" aria-hidden="true"></i></button>
</form>
This is the corresponding CSS:
.form3 { visibility: hidden; }
I attempted to remove the div element and add the class directly to the form tag, but unfortunately, that solution did not work either.