Grow your CSS skills. Land your dream job.

Brad Frost responsive menu pattern and max-height issue

  • # November 11, 2012 at 2:56 pm

    http://codepen.io/bradfrost/pen/sHvaz

    Working on a menu based on this pattern, but I am curious, it uses:

    nav[role=navigation].active{max-height:15em}

    But what if you were using this in WordPress for example where using a dynamic menu the height could vary? Is there a better way to accomplish this? The dropdown animation doesn’t seem to work when no height is set.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".