1.1.0 • Published 12 months ago

@macrominds/responsive-menu v1.1.0

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
12 months ago

= Responsive Menu

CSS only responsive menu

== Setup and Usage

See https://macrominds.gitlab.io/responsive-menu/[the demo page] for a general usage and customization guide.

=== CSS / HTML

.HTML Snippet

source,html

include::src/index.htmltags="example-stylesheet-links"

include::src/index.htmltags="example-html"

To whip up a rapid prototype, just use the css files from https://macrominds.gitlab.io/responsive-menu/.

source,html,subs=normal

include::src/index.htmltags="example-prototype-links", indent="0"

=== SCSS

Alternatively, you can use the scss sources directly:

source,bash

npm install --save-dev @macrominds/responsive-menu

.Your scss file, simple breakpoint

source,scss,subs=normal

include::src/scss/demo-page-built-from-scss.scsstags="scss-configure-width-breakpoint", indent="0"

Or, define the breakpoints yourself, if you have more sophisticated breakpoint rules:

.Your scss file, sophisticated setup

source,scss,subs=normal

include::src/scss/rm.scsstags="scss-customize-breakpoint-rules", indent="0"

1.0.2

1 year ago

1.1.0

12 months ago

1.0.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago