Giter Site home page Giter Site logo

Comments (6)

theanxy avatar theanxy commented on June 24, 2024

IMO the multi-toggle pattern from http://bradfrost.github.io/this-is-responsive/patterns.html#nav-complex would be the best.

from accessible-mega-menu.

DavidMacDonald avatar DavidMacDonald commented on June 24, 2024

Yes I would say this is a big issue for adoption... how well it morphs to mobile

from accessible-mega-menu.

thetrickster avatar thetrickster commented on June 24, 2024

Is anyone tackling responsiveness? I could give it a shot. I guess we should probably have one breakpoint. I see some of the widths in the current CSS are in px but I think we should set our breakpoint with EMs-- either at 40em or slightly larger at 47.938em.

Has anyone started this yet? I like the multi-toggle pattern as well.

from accessible-mega-menu.

DavidMacDonald avatar DavidMacDonald commented on June 24, 2024

go for it! @thetrickster

from accessible-mega-menu.

thetrickster avatar thetrickster commented on June 24, 2024

I've got the basic functionality of the CSS to work with one breakpoint set-- the problem I think I'm having now is the javascript functionality I guess. On smaller screens we'll need it the browser to scroll to the top of the menu panel.

Also-- I know it will rarely happen, but right now since the menu is activated on hover for desktops when you test with just the browser it's hard to use with the hover event.

Here's what I've got so far: https://github.com/thetrickster/Accessible-Mega-Menu/tree/responsive-megamenu

Honestly I haven't had a chance yet to dig into the JS so this is just a start with the CSS but it's getting there. You'll see that some of the borders of child elements aren't necessary when the columns are stacked but I'll just move that into main.css I guess.

from accessible-mega-menu.

flickster avatar flickster commented on June 24, 2024

A responsive and accessible mega menu sounds brilliant. Thanks @thetrickster

from accessible-mega-menu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.