GithubHelp home page GithubHelp logo

jerry-goodboy / html5-device-mockups Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pixelsign/html5-device-mockups

0.0 2.0 0.0 255.82 MB

HTML5 mockups of popular devices, to showcase your portfolio and spice up your website.

Home Page: http://pixelsign.github.io/html5-device-mockups/

License: MIT License

JavaScript 32.69% CoffeeScript 2.55% CSS 21.86% HTML 42.90%

html5-device-mockups's Introduction

Gitter GitHub release Bower npm License: MIT

HTML5 device mockups ๐Ÿ“ฑ๐Ÿ’ป

You can view the demo page of all devices here: https://pixelsign.github.io/html5-device-mockups/

Use on...

  • Your website / splash screen

For...

  • Displaying photos
  • Displaying screenshots of your app(s)
  • Displaying reference works / illustrations
  • Displaying a content rotator / slideshow
  • Embedding a JavaScript app inside the device
  • Embedding a YouTube video

Why?

  • Looks cool
  • Attracts customers
  • Makes your site look professional
  • Give people the idea that your app/site works on mobile
  • Give the impression that your illustrations are meant for web/mobile
  • Lots of screenshots in just one "device"

Features:

  • Maintains the device's aspect ratio when scaled
  • Perfectly aligned screen content containers
  • Some devices have "home button" layer defined for possible click event bindings
  • Multiple color schemes
  • Multiple orientations
  • 86 different device images

Devices

Name Filename Orientations Colors
Chromebook Chromebook portrait black
Galaxy S3 galaxyS3 portrait, landscape black, white
Galaxy S5 galaxyS5 portrait, landscape black, white, gold
Galaxy Tab 4 galaxyTab4 portrait black, white
HTC One M8 HtcOneM8 portrait, landscape black
Huawei P8 HuaweiP8 portrait, landscape gold
iMac iMac portrait black
iPad iPad portrait, landscape black, white
iPad Air 2 iPadAir2 portrait, landscape black, white, gold
iPad Pro iPadPro portrait, landscape black, white, gold
iPhone 6 iPhone6 portrait, landscape black, white, gold
iPhone 6 Plus iPhone6Plus portrait, landscape black, white, gold
iPhone SE iPhoneSE portrait, landscape black, white, gold, pink
iPhone 5 iPhone5 portrait, landscape black, white
iPhone 6 Hand iPhone6Hand portrait black, white
iPhone 7 Hand iPhone7Hand portrait black
iPhone 7 Hand 2 iPhone7Hand_2 portrait black
iPhone 7 iPhone7 portrait, landscape black, white, gold, pink, red
Lumia 930 Lumia930 portrait, landscape black, white
Macbook Macbook portrait black, white, gold
Macbook 2015 Macbook2015 portrait black, white, gold
MacbookPro Macbook2015 portrait black
Samsung TV SamsungTV portrait black
Surface Pro 3 SurfacePro3 landscape black
Surface Studio SurfaceStudio portrait black

Integrating to your website:

Bower

bower install html5-device-mockups

npm

npm i html5-device-mockups

Old traditional way

<link rel="stylesheet" type="text/css" href="dist/main.min.css">

Usage

Use this example or grap the code from the HTML generator on our demo site:

<div class="device-wrapper">
  <div class="device" data-device="iPhone5" data-orientation="portrait" data-color="black">
    <div class="screen">
      <!-- PUT CONTENTS HERE -->
    </div>
    <div class="button">
      <!-- You can hook the "home button" to some JavaScript events or just remove it -->
    </div>
  </div>
</div>

Created by:

Tomi Hiltunen

Angelos Arnis

Benjamin Bortels

Credits for the original graphical renderings of the devices used in this package are found in a separate file which is provided with this package.

html5-device-mockups's People

Contributors

pixelsign avatar ben182 avatar tomihiltunen avatar bencmbrook avatar joeparrinello avatar msurguy avatar namanyayg avatar tristandunn avatar yanandcoffee avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.