Skip to content

Commit 521a0c3

Browse files
committed
additional readme improvements to clarify need to style the menu, showcase new features
1 parent 7865185 commit 521a0c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Jump to: [About](#about), [Features](#features), [Setup & Configuration](#setup-
88

99
A project by Mark Root-Wiley, [MRW Web Design](https://MRWweb.com)
1010

11-
Clicky Menus lets you create a progressively-enhanced, accessible one-level dropdown menu that opens when activated by click, touch, or `ENTER`/`SPACE`. The menu is progressively enhanced, supporting hover and keyboard navigation (in modern browsers) if JS is not enabled.
11+
Clicky Menus lets you create a progressively enhanced, accessible one-level dropdown menu that opens when activated by click, touch, or `ENTER`/`SPACE`. The menu supports hover and keyboard navigation when JS is not enabled.
1212

1313
[Demo on CodePen](https://codepen.io/mrwweb/pen/pXqKZO)
1414

@@ -23,6 +23,7 @@ Why should you want menus that work this way? Read the accompanying article on C
2323
- Close open submenu with click outside of open menu
2424
- Basic offscreen-menu prevention
2525
- [Configure custom submenu selector](#custom-submenu-selector)
26+
- [Programmatically close open submenus](#closing-submenus-with-js)
2627

2728
### Why only one level of submenu?
2829

@@ -55,6 +56,7 @@ Once you have the files:
5556

5657
1. Load `clicky-menus.js` anywhere in the DOM and `clicky-menus.css` in the `<head>`.
5758
2. Put the `clicky-menu` and `no-js` classes on the top-level `<ul>` element containing your menu
59+
3. Style your menus however you like. `clicky-menus.css` provides the most minimal styles for menu functionality so you can customize the design to your liking. [See the demo](https://codepen.io/mrwweb/pen/pXqKZO) for one example of how you could style this, including submenu animations!
5860

5961
Most of the time, Clicky Menus requires no configuration!
6062

0 commit comments

Comments
 (0)