Frequently Asked Questions
Question Set 1
Question Set 2
How is this thing working?
With some clever CSS.
How are the question sets being swapped out?
By using some old fashined page anchor links mixed with the CSS
:target
psudeo selector.
Is this a real question?
You bet it is!
Who are you?
I’m Philip! I work at
Sparkbox
.
How is the accordion working?
Those are accomplished with checkboxes and the
:checked
psuedo selector.
How accessible is this?
Honestly, I don’t know. I threw this together rather quickly to show that it could be done. I hope to dive deeper and see what it will take to improve accessiblity.
How are you?
I’m well, thank you. How are you?
Do you hate JavaScript?
No, I just really, really love CSS.