JavaScript
Article
By Sam Deering

Special CSS3 Scaling for andriod version less than 2.3

By Sam Deering
Help us help you! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

Special CSS3 Scaling for Android version less than 2.3. Following on from link Making Adobe edge HTML5 Animations mobile responsive.

//special scaling for andriod version less than 2.3
var ua = navigator.userAgent;
if( ua.indexOf(“Android”) >= 0 )
{
var androidversion = parseFloat(ua.slice(ua.indexOf(“Android”)+8));
if (androidversion https://github.com/zachstronaut/jquery-animate-css-rotate-scale

Meta Tag densitydpi

densitydpi is used for scaling the pixels to their actual size. A pixel is not a pixel in some devices and Android densitydpi doco for more on this.

--ADVERTISEMENT--

Full Meta Tag

Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.Is it good?