Implement Twig format in view exposed filter
For example if you use the preinstalled view Search Content, then put the file views-view--search-content.html.twig in the template folder of your theme and add the div containers:

{%
  set classes = [
    dom_id ? 'js-view-dom-id-' ~ dom_id,
  ]
%}
&lt;div{{ attributes.addClass(classes) }}&gt;
  {{ title_prefix }}
  {{ title }}
  {{ title_suffix }}

  {% if header %}
    &lt;header&gt;
      {{ header }}
    &lt;/header&gt;
  {% endif %}

  &lt;div class="search"&gt;
    {{ exposed }}
    {{ attachment_before }}
  &lt;/div&gt;

  &lt;div class="results"&gt;
    {{ rows }}
    {{ empty }}
    {{ pager }}
  &lt;/div&gt;

  {{ attachment_after }}
  {{ more }}

  {% if footer %}
    &lt;footer&gt;
      {{ footer }}
    &lt;/footer&gt;
  {% endif %}

  {{ feed_icons }}
&lt;/div&gt;