HTML5

HTML

Sizing Images for Computers and Phones

November 18, 2015

Responsive Web Design – Images. One solution is to use the max-width property example: max-width: 100%; height: auto;   background images If the background-size property is set to "contain", the background image will scale, and try to fit the content area, and the image will keep its aspect ratio. ex: div { width: 100%; height: 400px; background-image: url('img_flowers.jpg'); background-repeat: no-repeat; background-size: contain; } If...

Read more »

TAKE jpg webcam PHOTO with HTML5

July 5, 2014
TAKE jpg webcam PHOTO with HTML5

updated 2016-03-03 How to take-upload your visitors webcam photo How to upload a jpg photo on your website with your visitors webcam html5 webcam getUserMedia examples and demo How to take a jpg webcam photo with html5 One of the really cool things that has come from HTML5 is the ability to access a website visitor’s webcam and upload a snapshot through the browser...

Read more »