Giter VIP home page Giter VIP logo

css-mega-menu's Introduction

Simple CSS-Only Mega Menu

Author: Joni Halabi (www.thatdevgirl.com)

Description

This simple mega navigation menu is inspired by the many mega menus on retail and other websites. This CSS-only solution is completely customizable - simply modify the HTML and CSS files to meet your specific needs.

What is in the HTML?

The HTML for the navigation is enclosed in the

tag, which contains 3 levels of navigation:

  1. Level 1 is an unordered list containing only the links in this first level. These links appear as a bar across the top of the navigation. This list has no child lists.

  2. Level 2 is an unordered list containing the links in this second level. These links appear as a bar across the top of the navigation, below the level 1 navigation. Each element can have a child element containing the level 3 navigation.

  3. Level 3 is hidden on page load and only appears when the user hovers over the applicable link in level 3. The Level 3 navigation is contained in a

    tag and can contain any HTML.

What is in the CSS?

This project contains 2 CSS files:

  1. reset.css: Just a basic CSS reset, inspired by the Eric Meyers' CSS reset.

  2. menu.css: Contains the base styles for the menu, including all hover styles. The aesthetics are really basic and monochromatic; this CSS file was written with the idea that the developer end-user can customize the styles to match whatever website you are working on.

Credits

Thank you to Place Kitten (http://placekitten.com/) for supplying images used in the Level 3 navigation.

css-mega-menu's People

Contributors

thatdevgirl avatar

Stargazers

Guto Martins avatar

Watchers

James Cloos avatar Guto Martins avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.