Camilo Martin
Camilo Martin

Reputation: 37898

Is it possible to create a CSS-only accordion?

I'm thinking about using an accordion in a "please enable Javascript" page, but I don't know if it's possible with CSS only.

I'm almost sure it is for most browsers, but I'm also fearing I'll face some limitation of IE and I'd like to know if any of you tried this already (or not) and could tell me if it's either possible or impossible (considering IE6+).

Upvotes: 2

Views: 6309

Answers (2)

Maz
Maz

Reputation: 3375

It is impossible without JavaScript. Even if you use the new HTML5 transitions (which are certainly not supported in IE6), you still need JavaScript to trigger the transition.

Upvotes: -1

Related Questions