Laptop with Design and Code Side by Side in CSS

Image: Laptop with Design and Code Side by Side in CSS GIF

This is something that will look good in the hero section or the before and after section of a web design page where you want to showcase the design on the left and the code on the right side of a laptop screen. This pure CSS snippet was designed by Ricardo dos santos.

If you are having trouble with the pen, try the archived copy on GitHub

Half Design and Half Code Snippet

See the Pen Just a computer with code and stuff (?) by Ricardo dos santos (@whhhhhhaaaaaaat) on CodePen.0

Posted by:Hima Vincent

Hima Vincent is the founder & editor in chief of CodeMyUI. She is a writer by day and a reader by night who helps web designers build awesome projects by sharing amazing code snippets for inspiration. Hobbies include designing, card games, photography and exploring the culinary arts.