Device.js : Write Conditional CSS or JavaScript

devicejs
Device.js is a tiny JavaScript library that simplifies writing conditional CSS or JavaScript that is based on the platform, operating system or browser. The library detects and adds specific classes to the html element.

Device.js has JavaScript methods to detect them too. And there is support for all the major operating systems + browsers.

 

[button color=”green” size=”medium” link=”http://matthewhudson.me/projects/device.js/” target=”blank” ]Device.JS [/button]

Device.js : Write Conditional CSS or JavaScript
Rate this post

Leave a Reply