Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ozrn/js-follow-along-navbar

This is a fun JS project where a follow along hover navbar is created replicating Stripe's main navigation
https://github.com/ozrn/js-follow-along-navbar

Last synced: about 2 months ago
JSON representation

This is a fun JS project where a follow along hover navbar is created replicating Stripe's main navigation

Awesome Lists containing this project

README

        

# JS30 #26: js-follow-along-navbar
This is yet another vanilla JavaScript project of JS30 series by Wes Bos. In this fun project, the functioning of the Stripe website's main navigation bar is replicated using CSS and JavaScript.

View demo [here](https://ozrn.github.io/js-follow-along-navbar/)
## Overview
With the help of mouseenter and mouseleave events on the unordered list items, the navbar will be manipulated. Once one of the items is hovered on, the content of the dropdown will appear and the white div that has a class of dropdownBackground will place behind the content and resize itself based on the content size.