Simplified markup for Tabs & Accordions in HTML5(ish). AKA "did you know html5 allows this?"
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
index.html
styles.css

README.md

html-ish

Simplified markup for Columns, Tabs & Accordions in HTML5(ish).

<tabs>
    <hello there.>
        I'm a tab.
    </hello>
    <hi*>
        Yes, but I'm the default (selected) tab.
    </hi*>
    <what's up?>
        Did you know that document.querySelector() thinks this is valid markup?
    </what's>
    <it's cool & all good>
        Probably don't want to run this through a validator.
    </it's>
</tabs>

Did you know you could do this? You can't. But with some javascript hackery, you can!