[wp-trac] [WordPress Trac] #21562: Twenty Twelve: improve navigation to be mobile-first and not rely on JS for hiding and showing

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 22 16:36:03 UTC 2012


#21562: Twenty Twelve: improve navigation to be mobile-first and not rely on JS for
hiding and showing
---------------------------+------------------
 Reporter:  cfinke         |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------

Comment (by obenland):

 @lancewillett:

 In [attachment:21562.no-jQuery.diff] the toggling works but currently
 without transition effects.

 CSS transitions do not work with the `display` property, which is why I
 went with `height` and `overflow:hidden;`. But they also need a specific
 hight value for them to work. It does not work with `height:auto;` (or
 `height:100%;` for that matter).

 Which brings us back to: ...calculating the height??

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21562#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list