Today I Learned - Rocky Kev

TIL Chrome can emulate mobile hardware

POSTED ON:

TAGS:

Smart phones and tablets often include hardware such as Global Positioning Systems (GPS), gyroscopes, and accelerometers. These are not normally available in desktop PCs which can make development using APIs such as geolocation more difficult.

Chrome can emulate device hardware in DevTools — choose Sensors from the More tools menu:

You can:

via Craig Buckler's 15 DevTool Secrets for JavaScript Developers


Related TILs

Tagged:

TIL how to get what browser with just css

Today I learned about how to tell what browser you are using with just CSS.

TIL Considering Device Obsolescence with web development

I'm incredibly guilty of pushing to build for the latest tech. For good reason too - you can write less code, use more native functions, and things are just more likely to work.

TIL SpaceX ships run Chromium

HTML/CSS is good enough for space.