Coder Social home page Coder Social logo

pixelsign / html5-device-mockups Goto Github PK

View Code? Open in Web Editor NEW
3.6K 114.0 405.0 256.24 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

HTML 29.45% CSS 64.88% JavaScript 5.67%

html5-device-mockups's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

html5-device-mockups's Issues

Pixel 2 and Pixel 2 XL

Hey there! ๐Ÿ‘‹

Thank you so much for making this! Cool stuff. ๐Ÿ™

Would love to see device mockups for the Pixel 2 and Pixel 2 XL. ๐Ÿค˜

Cheers! ๐Ÿ˜ƒ

Device frames don't load immediately

Insteat, they blink in after a small delay. Also, when the page is not active for some time, the same effect occurs.
Browser: Firefox 50.1.0.

iPhone 8 and iPhone X

Excellent tool, thank you guys so much for developing device mockups! Are there any plans to add the iPhone 8 and iPhone X to the lineup? Is there anything I can do to help? Thanks again!

3.0.0 Features

  1. Clean up Repo
  2. Complete new build process
  3. New Devices
    3.1 Windows Laptops
    3.2 iPhone 7
  4. Size Optimizations
  5. Readme better explanation of devices

npm i does not pull src folder

I would like to customize the

mockup-path

variable. However with npm install the src is not pulled, due to main property in package.json. Would appreciate a fix.

CDN

Hi, can you please provide cdn link?

Conent inside wrapper not reachable

Hi, I am trying to show a video inside the mockup, but nothing (video controls, buttons or text) is reachable inside the wrapper. Even if I set .device .screen { ... pointer-events: auto } to pointer-events: all. I am using the plain HTML5 video player.

I tried to follow the instructions of other issues, but nothing worked (#68 #21 #65 )

Any ideas?

Bower install does not work

When trying to install via "bower install html5-device-mockups" I get this output:
"Unexpected token } in JSON at position 565"

bower.json is valid

Can not reach to the content inside mockup

Hello, I'm trying to click to button inside mockup but I couldn't reach to the button. Tried z-index but didn't help. Could you tell me how can I reach to content inside mockup?

iPhone X missing in NPM install

I installed your library via npm, but it seems that there I do not get the most current version? The iPhone X is missing. :( Would be nice to get a npm update!

Content borders

The content looks unnatural, as it doesn't have borders. Any way to fix that?

Add TV MockUp

Hi,

great collection of devices. Although I miss a TV Mock-Up. I would be really great, if you add one. We need that for a project that we are starting in the next couple of weeks.

Many thanks,
Wolfie

Don't use a 3.3 MB default background image

Your default background image background-image: url("https://static.pexels.com/photos/50594/sea-bay-waterfront-beach-50594.jpeg"); is 3.3 MB, but most people will probably never use or see it. I suggest removing it, as it causes a lot of unnecessary network traffic.

Make markup consistent with HTML5 structure

HTML5 provide you elements like <section> <footer> and many others, and I would recommend you to use them. These elements help screen readers to understand your website's structure.

Device frames not showing in mobile view

Everything works normally from Desktop and Tablet.

However, when I open the website from mobile the device frames simply disappear.

Already tried to play with z-index but it's not the cause as it is working properly elsewhere.

Please let us know of any workarounds.

Hiding div on generator

Firstly, thank you for sharing this, really nice!

Was wanting to use this in classroom project and stumped, but that not hard to do:)

On the "Mockup Device Generator.html" page: is there an easy way to simply hide the div with the generated code? Would like to use the page as a real mockup viewer. In other words display no code, just let users click on the buttons to view a site.

Thanks in advance!

Woody

"Macbook" filepath mismatch of letter cases

The file path for Macbook is actually /macbook/ however it is referenced as /Macbook/ in device-mockups.css. This will work for some web servers (esp. those commonly used in dev mode), but will fail for others (e.g. those used by Amazon for a static S3 site).

I can submit a PR, but I'm not sure whether you want a change in the LESS or in the folder naming.

It looks like this is also the case for iPhone5/iphone5

Can't interact with the content of device

Is there any way to be able to interact with content of device? Any links/ buttons doesn't work, just like invisible layer covers it. Tried to change z-index but it didn't help. Any advice ?

Update npm package

Npm package is still pointing to v3.0.0 with the broken case folders. Could it be updated to latest release, please?

Thanks!

Photoshop PSD as "png"

In your most recent update, you several of the PNG images are actually Adobe Photoshop PSD files. Looks like you did a "Save As..." and saved a PSD with a ".png" extension instead of a PNG export. Opening these in a basic image viewer/editor will yield an error about the file being corrupted, because these aren't actually PNG images.

There could be more, I just happened to notice it for the Galaxy S5 images. I used the 'file' command (native to Linux, Mac, other Unix-like systems) to detect the mismatches:

MacMini:galaxy_s5 billy$ file *
galaxy.psd: Adobe Photoshop Image, 1239 x 2406, RGBA, 4x 8-bit channels
galaxy_s5_land_black.png: Adobe Photoshop Image, 2406 x 1239, RGBA, 4x 8-bit channels
galaxy_s5_land_gold.png: Adobe Photoshop Image, 2406 x 1239, RGBA, 4x 8-bit channels
galaxy_s5_land_white.png: Adobe Photoshop Image, 2406 x 1239, RGBA, 4x 8-bit channels
galaxy_s5_port_black.png: PNG image data, 1239 x 2406, 8-bit/color RGBA, interlaced
galaxy_s5_port_gold.png: PNG image data, 1239 x 2406, 8-bit/color RGBA, interlaced
galaxy_s5_port_white.png: PNG image data, 1239 x 2406, 8-bit/color RGBA, interlaced

Tag releases

If a bower publication is not in the cards, tagging releases would be an easy way to still support the bower users of the world.

[Question] How do you set it to the actual size of the device?

I'm working on a content editor.

I want to be able to show previews of what the content would look like on e.g. a mobile, Tablet, desktop etc.

To show an accurate preview the "device mockup" needs to be the actual size of the device.

Right now this seems to make a mockup with just the correct aspect ratio, but I don't see any way to set the size to set the screen size to the actual size of the device? Am I missing something or is this not supported?

can't scroll

even with overflow: auto; I can't scroll the content in the device.

Link to example page

Hi,

I was trying to show this to a colleague but had lost the link to the demo page and only had the repo. Because of this I had to clone it and show him a local copy of the site.

Can you please add the link to the example page in the readme/description or create a github pages for the repo.

Alan

Device doesn't appear

Hi. I've added CSS file which was mentioned in the documentation. Also added HTML code which was generated by the device while the device doesn't appear. The part of the page where it should appear is empty. Can you help me to solve that problem? Thanks

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.