There are a bunch of methods that you can create modals and accordions with it in Pure CSS. in this sample I'm using :target
to simulate the toggle
in jQuery.
A simple modal with a close button. [method: :target
] | Demo Here
A bit more complex modal (accordion), actually the same method with different design approach [method: :target
] | Demo Here
Note: I'll update this repo with more methods to create a Pure CSS Modal.