Please note, this is a STATIC archive of website www.javatpoint.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
Javatpoint Logo
Javatpoint Logo

Pure.CSS Dropdown

You can create dropdown navigation by making small changes in markup. You have to add the class name "pure-menu-has-children" to the appropriate menu item to create a dropdown menu. To display the submenu on hover, include the class name "pure-menu-allow-hover".

Example:

Let's take an example to demonstrate how to create a dropdown menu:

Test it Now

Output:

PureCSS Dropdown 1
Next TopicPure.CSS Inputs





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA