current-device

Device detector

A module to detect and handle device characteristics such as operating system, orientation, and screen type for conditional styling and scripting.

📱 The easiest way to write conditional CSS and/or JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS, MeeGo), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).

GitHub

4k stars
123 watching
586 forks
Language: JavaScript
last commit: 6 days ago
Linked from 2 awesome lists

device-detectionjavascriptmobile

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
marvelapp/devices.css A collection of pre-defined phone and tablet styles for use in web applications 3,953
andrewplummer/sugar A utility library for working with native JavaScript objects 4,541
senchalabs/jqtouch A JavaScript plugin for building mobile apps with HTML, CSS, and Zepto.js or jQuery. 2,782
koddr/a2hs.js A solution to prompt users on iOS devices to install a web application to their home screen 175
csscomb/csscomb.js A tool to format CSS coding styles in a consistent and beautiful way 3,289
onsenui/onsenui A framework for building native-feeling web apps with HTML5 and JavaScript 8,828
hybridsjs/hybrids A JavaScript framework for building modern web applications with a unique declarative and functional architecture 3,055
mjavascript/practical-modern-javascript A book series on modern JavaScript development focusing on modularity and ES6 features. 3,087
modernizr/modernizr A JavaScript library that detects HTML5 and CSS3 features in user browsers. 25,655
heyman333/react-native-iphone-se-helper Provides utility functions to determine the size of an iPhone SE-based layout 8
nativescript/nativescript Enables JavaScript code to be executed on multiple platforms with native APIs and cross-platform compatibility 24,281
mcasimir/mobile-angular-ui A framework for building mobile web applications using Angular.js and Bootstrap 3 2,866
salsify/ember-css-modules Ember CSS modules integration 282
alexwolfe/buttons A highly customizable CSS button library built using Sass and Compass 5,033
js-cookie/js-cookie A lightweight JavaScript API for handling browser cookies. 22,031