Devices.css – Modern devices in pure CSS

All devices are elegantly developed in pure CSS. The first are newly announced iPhone X and iPhone 8. More devices are coming. You can use these minimal devices in landing and screenshot showcase pages.

Devices

  • iPhone X (Silver)
  • iPhone 8 (Silver, Gold and Space Gray)
  • Samsung Galaxy S8 ( Midnight Black and Coral Blue)
  • iPad Pro (Silver, Gold, Rose Gold and Space Gray)
  • MacBook Pro (Silver and Space Gray)
  • Surface Studio
  • iMac Pro

Getting started

Download the compiled and minified Devices.css files. Include devices.css located in /dist in your website or Web app <head> part.

<link rel="stylesheet" href="dist/devices.css">

Go to Demo page to copy the device HTML source code and paste it to anywhere you want.

You can add any content or screenshots to the device-contentdiv. The resolution aspect ratios are based on real ones.

Custom

You can custom Devices.css by modifing SASS .scss files located in src folder.