Div To Fullscreen On Click

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

See the Pen
Fullscreen Expanding Div
by Colin Lohner (@colinlohner)
on CodePen.

Praveen Kumar

I am a fullstack web developer with a passion for SEO, creating stunning websites, and organic marketing. I am a perfectionist.

Post navigation