:toggle This is a CSS3 toggle-button that works without JavaScript. Nothing special, just a cheap trick. If you ever need it: You stack two <a>s on top of each other and then disable pointer-events for the top <a> on :target. Fiddle yourself or Tweet this!