Awesome Lists

current-device

by matthewhudson

JavaScriptpushed almost 2 years ago

📱 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).

AI summary

Device detector

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

stars
3.9K
forks
586
watching
123
awesome lists
2
View on GitHubmatthewhudson.github.io/current-device

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/matthewhudson/current-device/links.svg)](https://awesome.facts.dev/awesome/matthewhudson/current-device)
HTML
<a href="https://awesome.facts.dev/awesome/matthewhudson/current-device"><img src="https://awesome.facts.dev/shield/matthewhudson/current-device/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/matthewhudson/current-device/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.