Bootstrap Collapse Accordion - Default Expand/Collapse?
问题 I'm using Twitter Bootstrap, with jQuery. According to the bootstrap docs, if you want the collapsible element open as default you add the additional class "in". And if you want the collapsible element collapsed as default you style the height to 0px. That all works well and good. I would like to use a Media Query to set the element open as default on large screens, and collapsed as default on small screens (and then click to toggle on both)... My HTML: <div class="accordion" id="accordion1">