Home
Future Technologies
Mobiles
Business
Educational Courses
Ad Code
Ticker
10/recent/ticker-posts
Home
Programming
Mega Menu examples HTML CSS
Mega Menu examples HTML CSS
Tech Nandan Media
December 29, 2022
Here is an example of a mega menu using HTML and CSS:
HTML
Home
About
Our Company
History
Mission & Values
Leadership
Our Services
Consulting
Training
Support
Contact Us
Phone
Email
Location
Blog
Contact
CSS
.menu { display: flex; align-items: center; justify-content: center; } .menu ul { display: flex; list-style: none; margin: 0; padding: 0; } .menu li { position: relative; } .menu a { display: block; padding: 10px 20px; text-decoration: none; color: #333; } .menu .mega-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 1; width: 500px; background: #fff; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); } .menu .mega-menu .menu-col { float: left; width: 33.33%; padding: 20px; } .menu .mega-menu .menu-col h3 { margin: 0; font-size: 14px; text-transform: uppercase; color: #777; } .menu .mega-menu .menu-col ul { margin: 0; padding: 0; list-style: none; } .menu .mega-menu .menu-col li { margin: 5px 0; } .menu .mega-menu .menu-col a { color: #777; } .menu li:hover .mega-menu { display: block; }
Programming
Reactions
Most Popular
What Is SEO - Search Engine Optimization?
December 23, 2022
Like Us on Facebook
OUR YOUTUBE CHANNEL
Tags
Future Technologies
Internet
Programming
Contact form
Powered by Blogger
ANS Web Solution
| Powered by
ANS Web Solution