Pure css drop down menu

Pure css drop down menu

Pure css drop down navigation bar – Today we are sharing with you Pure CSS Drop Down Menu with code, today’s most of websites using drop down menu feature. Pure css drop down menu is a very simple and easy to use, you can use every type f websites such as news, tutorials, corporate, hotel, directory etc. HTML Websites, PHP Websites, ASP Websites. A flat designed drop down menu is 100% built with plain HTML and CSS. You can download this using download button make it yours. don’t forget to share.

How to use Pure css drop down Menu.

HTML Code of your Pure css drop down menu using nested Html lists as follows.

<!DOCTYPE html>
<html>
<head>
<title>Pure css drop down menu | PHPKIDA </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body>
<nav>
<ul class="cf">
<li><a href="#">Menu Item 1</a></li>
<li><a class="dropdown" href="#">Menu Item 2</a>
<ul>
<li><a href="#">Sub-menu Item 1</a></li>
<li><a href="#">Sub-menu Item 2</a></li>
<li><a href="#">Sub-menu Item 3</a></li>
</ul>
</li>
<li><a href="#">Menu Item 3</a></li>
<li><a href="#">Menu Item 4</a></li>
</ul>
</nav>
</body>
</html>

CSS Code of your Pure css drop down menu.

nav ul {
-webkit-font-smoothing:antialiased;
text-shadow:0 1px 0 #FFF;
background: #ddd;
list-style: none;
margin: 0;
padding: 0;
width: 100%;
}
nav li {
float: left;
margin: 0;
padding: 0;
position: relative;
min-width: 25%;
}
nav a {
background: #ddd;
color: #444;
display: block;
font: bold 16px/50px sans-serif;
padding: 0 25px;
text-align: center;
text-decoration: none;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease;
}
nav .dropdown:after {
content: ' ▶';
}
nav .dropdown:hover:after{
content:'\25bc'
}
nav li:hover a {
background: #ccc;
}
nav li ul {
float: left;
left: 0;
opacity: 0;
position: absolute;
top: 35px;
visibility: hidden;
z-index: 1;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease;
}
nav li:hover ul {
opacity: 1;
top: 50px;
visibility: visible;
}
nav li ul li {
float: none;
width: 100%;
}
nav li ul a:hover {
background: #bbb;
}

/* Clearfix */

.cf:after, .cf:before {
content:"";
display:table;
}
.cf:after {
clear:both;
}
.cf {
zoom:1;
}​

TEMPLATE INFORMATION :

Template Name : – Pure css drop down menu.
Date Created : – 28-01-2018
Compatible Browsers : – Google Chrome, Firefox, Safari, IE 10, Opera etc.
Keywords : pure css drop down menu, pure css drop down menu free download, pure css dropdown menu, pure css drop down navigation bar, pure css select dropdown.

Leave a Reply

Related Posts: You may like

Rotating Words with CSS Animations

Pure CSS Loader and spinners animation

Pure css dropdown navigation bar

CSS Star Rating System Example Free Download

Tools:

Crypto Currency

PHPKIDA provides free online the best real-time crypto market price, news, predictions, index with graphs & historical data for 2000+ coins including bitcoin, ethereum, & altcoins from major cryptocurrency exchanges.

Visite Tool

Icon Generator

PHPKIDA provides free online icon generator. Our icon generator help you to edit, modify, resize and customize icon for your website and applications. Convert to a shap you like add icon border, you can change icon border color, border size, background color, icon shadow, icons color, icon size in your own way and save it as a png image.

Visite Tool

Youtube Video Downloader

PHPKIDA provides Free online YouTube video downloader to download YouTube videos quickly in MP4, 3GP, and more. Search your video and free fast download youtube videos.

Visite Tool

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.