how can I design a navbar similar to this site? I like to drop down toggle search .

Posted over 5 years ago by Tony
Posted over 5 years ago by Alex Yang

You won't be able to do this with Ruby/'ll need JavaScript for that. On a high-level, you'll basically need to create the search widget and leave it hidden with CSS. Then when the user hovers over the 'Search' button, you'll use JavaScript to display it. This is somewhat beyond the scope of the BaseRails material, but I hope this is enough to point you in the right direction.