Html csss DropDown Menu Archives - csshint - A designer hub https://csshint.com/tag/html-csss-dropdown-menu/ Sun, 19 Feb 2023 10:31:00 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.4 CSS Only Simple Drop Down Navigation Menu https://csshint.com/simple-dropdown-menu-using-css/ Mon, 24 Aug 2020 04:02:17 +0000 http://csshint.com/?p=3392 Today in this post we are going to learn how to create A Simple Dropdown Menu using html and css. This navigation menu designed by Mike Rojas. HTML / PUG [code language=”Html”] link( href=’https://fonts.googleapis.com/css?family=Open+Sans:400,800,300′ rel=’stylesheet’ type=’text/css’ ) h1 A Simple Dropdown Menu nav.nav ul.nav__menu li.nav__menu-item a Home li.nav__menu-item a Services ul.nav__submenu li.nav__submenu-item a Web Design […]

The post CSS Only Simple Drop Down Navigation Menu appeared first on csshint - A designer hub.

]]>
Today in this post we are going to learn how to create A Simple Dropdown Menu using html and css. This navigation menu designed by Mike Rojas.

Drop Down Navigation Menu

Drop Down Navigation Menu


HTML / PUG

[code language=”Html”]
link( href=’https://fonts.googleapis.com/css?family=Open+Sans:400,800,300′ rel=’stylesheet’ type=’text/css’ )

h1 A Simple Dropdown Menu

nav.nav
ul.nav__menu
li.nav__menu-item
a Home
li.nav__menu-item
a Services
ul.nav__submenu
li.nav__submenu-item
a Web Design
li.nav__submenu-item
a Web Development
li.nav__submenu-item
a Web Hosting
li.nav__menu-item
a About
ul.nav__submenu
li.nav__submenu-item
a Our Company
li.nav__submenu-item
a Our Team
li.nav__submenu-item
a Our Reach
li.nav__menu-item
a Blog
li.nav__menu-item
a Contact
[/code]

CSS / SCSS

[code language=”css”]
$cor-1: #9b59b6;
$cor-2: #ecf0f1;
$cor-3: #27ae60; // green

html {
box-sizing: border-box;
}

*, *:before, *:after {
box-sizing: border-box;
}

body {
margin: 0;
font-family: ‘Open Sans’, sans-serif;
font-size: 16px;
line-height: 1.5;
background: $cor-3;
}

nav {
ul {
list-style: none;
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
}
}

h1 {
width: 500px;
margin: 100px auto 20px;
color: #f0f0f0;
text-align: center;
}

.nav {
width: 500px;
margin: 0 auto;
background: darken( $cor-3, 10% );
color: #f0f0f0;
a {
display: block;
padding: 0 16px;
line-height: inherit;
cursor: pointer;
}

&__menu {
line-height: 45px;
font-weight: 700;
text-transform: uppercase;
&-item {
display: inline-block;
position: relative;

&:hover {
background-color: $cor-1;

.nav__submenu {
display: block;
}
}
}

}

&__submenu {
font-weight: 300;
text-transform: none;
display: none;
position: absolute;
width: 220px;
background-color: $cor-1;

&-item {
&:hover {
background: rgba( #000, 0.1 );
}
}
}

}
[/code]

Simple Drop Down Navigation Snippet

The post CSS Only Simple Drop Down Navigation Menu appeared first on csshint - A designer hub.

]]>
15+ CSS DropDown Menu https://csshint.com/css-dropdown-menu/ Fri, 12 Jun 2020 03:02:05 +0000 http://csshint.com/?p=1997 Latest Collection of free Hand picked Pure Html CSS DropDown Menu Examples for you to use in your projects. Demo and Download the zip (*.zip). 1. Pure Css dropdown menu Author Sathish kumar demo and code Get Hosting 2. Cool Dropdown Menu Effects Pure Css Author Ruslan Pivovarov demo and code Get Hosting 3. Menu […]

The post 15+ CSS DropDown Menu appeared first on csshint - A designer hub.

]]>
Latest Collection of free Hand picked Pure Html CSS DropDown Menu Examples for you to use in your projects. Demo and Download the zip (*.zip).

1. Pure Css dropdown menu

CSS DropDown Menu

Author

  • Sathish kumar

demo and code Get Hosting


2. Cool Dropdown Menu Effects Pure Css

cool CSS DropDown Menu

Author

  • Ruslan Pivovarov

demo and code Get Hosting


3. Menu #CodePenChallenge

cool CSS DropDown Menu 2

Author

  • Ahmed Nasr

demo and code Get Hosting


4. Simple Pure CSS Dropdown Menu

Author

  • Connor Brassington

demo and code Get Hosting


5. MainMenu #CodePenChallenge

cool CSS DropDown Menu 3

Author

  • Mohamed Ayman

demo and code Get Hosting


6. Menu cpc-menus #CodePenChallenge

Author

  • Vincent Durand

demo and code Get Hosting


7. Molten menu

Author

  • Zealand

demo and code Get Hosting


8. Recursive Hover Nav ( Only CSS )

Author

  • @SEAN_CODES

demo and code Get Hosting


9. Responsive navigation menu Pure CSS

Author

  • Jenning

demo and code Get Hosting


10. Zigzag dropdown menu concept

Author

  • Catalin Rosu

demo and code Get Hosting


11. CodePen Challenge: Menu

Author

  • Adam Kuhn

demo and code Get Hosting


12. Dropdown Menus

Author

  • Kevin

demo and code Get Hosting


13. Simple, CSS only, responsive menu

Author

  • John Urbank

demo and code Get Hosting


14. Menu – Gradient Menu

Author

  • Halida Astatin

demo and code Get Hosting


15. Fancy Menu

Author

  • Jesus Rodriguez

demo and code Get Hosting


I Hope you liked Hand-picked list of Pure CSS DropDown Menu, Don’t forget to share on social media like facebook, twitter, linkedin, pinterest, and others social media platform. Thanks

The post 15+ CSS DropDown Menu appeared first on csshint - A designer hub.

]]>