Here is the modal!

Created with pure CSS, and probably non-functional in many browsers.

The launch button is a <label> attached to a radio <input> . Clicking the label toggles the radio input. Using the :checked pseudo-selector and the + sibling selector, the .modal__wrapper is made visible when the radio is checked.

The close button in a second label/radio input with the same name attribute, so when it is clicked, the launch button loses its :checked state and the modal goes back to display: none .