Skip to content

Search Form Toggle

Eric Michel edited this page Sep 7, 2020 · 1 revision

The search-form-toggle class will find the first hyperlink inside of its element and turn it into a toggle for the website's search form. This is typically used for menu items. The text for the hyperlink will be hidden and become screen reader text, and will be replaced visually by a magnifying glass icon. Clicking the icon will make a floating search form appear.