GithubHelp home page GithubHelp logo

Collapsible menu? about hugo-coder HOT 6 CLOSED

chipsenkbeil avatar chipsenkbeil commented on May 13, 2024
Collapsible menu?

from hugo-coder.

Comments (6)

khos2ow avatar khos2ow commented on May 13, 2024 1

I like the idea of using ~ but it won't solve the problem for all situations. What if one has more than three items in the menu, what if the items' text are long and etc. The one fix for all will definitely be the collapsible menu (such as the one bootstrap does with its hamburger menu)

This is the way I've done it (lazy enough!) with Bootstrap.
selection_053

from hugo-coder.

luizdepra avatar luizdepra commented on May 13, 2024 1

Now we have a collapsible menu for mobile screens. So, I'm closing this issues.

from hugo-coder.

luizdepra avatar luizdepra commented on May 13, 2024

A collapsible menu is a really nice idea.
I did not add it yet but I was looking for an option that don't use JS (if possible).
Could you help me this feature?

from hugo-coder.

chipsenkbeil avatar chipsenkbeil commented on May 13, 2024

@luizdepra, I've used some HTML5 elements that enable collapsing on https://scala-debugger.org/api/getting-started/what-is-a-debugger/

Details and summary are the related tags to do this.

A simple example of this can be found on MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

It isn't supported on IE or Edge, though. https://caniuse.com/#feat=details

from hugo-coder.

chipsenkbeil avatar chipsenkbeil commented on May 13, 2024

Another thought (maybe additional) is to collapse the name on the lefthand side. Given that it represents going to the homepage, maybe converting it to ~ (equivalent of home for programmers) on small screens would be an option.

from hugo-coder.

luizdepra avatar luizdepra commented on May 13, 2024

Yeah. I'll try to add a collapsible menu later. But for now, I'll use the ~ idea.

from hugo-coder.

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.