OSTraining: How to Create a Search Box with a Sliding Effect in Drupal 8

0 Flares Twitter 0 Facebook 0 Filament.io 0 Flares ×

One of OSTraining members asked how to create a search box with a sliding out effect. Their goal was to arrive at the search box similar to the one you can find at the top of Drupal’s own website.

In this tutorial, you will learn how to create a search box that expands once you clicked on the icon. Also, while it stays expanded, it blur out your main menu.