Author Archives

Heiko Stiegert (1 Posts)

About: Heiko Stiegert is a web designer, author and blogger from Berlin, Germany. His blog is focused on CSS, HTML, JavaScript and SEO. If you want, you can follow him on @webstandard, Facebook or Google+.

How to Build an Accordion Image Gallery with only CSS

Fluent animated transitions for sliding web page elements such as a menu or an image gallery, have always traditionally been implemented with JavaScript. But using the CSS3 pseudo-class :target and the negation pseudo-class :not() properties, together with the CSS3 Transition Module you can achieve the same effect, but without JavaScript! This means that the very popular “accordion or toggle” effects…