This snippet designed by Colin Lohner give you multiple divs that which clicked on will expand to fill up the screen. Clicking it again will collapse that into the original div.
If you are having trouble with the pen, try the archived copy on GitHub
Div to Fullscreen Snippet
See the Pen Fullscreen Expanding Div by Colin Lohner (@colinlohner) on CodePen.0