Skip to content

Latest commit

 

History

History
executable file
·
32 lines (21 loc) · 826 Bytes

README.md

File metadata and controls

executable file
·
32 lines (21 loc) · 826 Bytes

Accordion tabs

Tab experiments: tabs that fold into an accordion on small screens. Uses mostly just CSS. JS only adds and removes an attribute.

There's a bit of infrastructure in the demo, you'll find the good stuff on following files:

  • scss/objects/_accordion-tabs.scss
  • scss/objects/_accordion-tabs-vertical.scss
  • js/src/author.js

Browser comparability

Tested in:

  • Firefox (latest)
  • Safari (7 & 8)
  • Chrome (latest)
  • IE9

Running the demo

If you wish to run the demo on your machine:

  1. $ git clone https://github.com/hilja/accordion-tabls.git
  2. $ cd accordion-tabs
  3. $ npm install