Code Pad
Code
List Code
Search Code
Images
List Images
Search Images
Login
Privacy
Home
simple dropdown multi level navigation ul li css
jquery ui datepicker
js
styling css elements based on their attributes
css
animate background gradient css
css
linear gradient background with 3 colours
css
web storage testing
js
load a script based on a page condition variable
jquery
loop through elements and change the content using each and substr with jquery
jquery
mega menu testing
css
basic foundation grid layout
html
simple dropdown multi level navigation ul li css
11:09 pm, October 16, 2018
Code
html
css
js
scripts
html
Home
Front End Design
HTML
CSS
Resets
Grids
Frameworks
JavaScript
Ajax
jQuery
WordPress Development
Themes
Plugins
Custom Post Types
Portfolios
Testimonials
Options
About Us
Source
css
.main-nav ul { list-style: none; padding: 0; margin: 0; background: #1bc2a2; } .main-nav ul li { display: block; position: relative; float: left; background: #1bc2a2; } .main-nav li ul { display: none; } .main-nav ul li a { display: block; padding: 1em; text-decoration: none; white-space: nowrap; color: #fff; } .main-nav ul li a:hover { background: #2c3e50; } .main-nav li:hover > ul { display: block; position: absolute; } .main-nav li:hover li { float: none; } .main-nav li:hover a { background: #1bc2a2; } .main-nav li:hover li a:hover { background: #2c3e50; } .main-nav li ul li { border-top: 0; } .main-nav ul ul ul { left: 100%; top: 0; } /* Clear Fix */ .main-nav ul:before, .main-nav ul:after { content: " "; display: table; } .main-nav ul:after { clear: both; }
js
scripts
Download & Run
Download File
Run Demo
Re-load Preview
Preview
oezbS