Laptop with Design and Code Side by Side in CSS

Worried about licensing?

Do you have right license for your templates and fonts?

Head over to our partner Envato Elements and unlock unlimited downloads of over 50 million digital assets with full commercial licensing.

  • 50+ Million Assets with Unlimited Downloads
  • Templates, Addons, Fonts, Footage, Photos, Brushes, Presets & More
  • Full Commercial licensing for client work

Get ultimate peace of mind!

Get Started Now
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.