Skip to content

piwko28/BrowserCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

BrowserCheck

Add this script to your head section with jQuery included and check your environment (browser, device).

if($.browser.mobile) {
  alert("It's a mobile device!");
}

You can also add some classes to "html" tag:

environmentDetect(true, true, true);

Now you can depend your css on browser, devices and OS. Just try:

.idevice body {
  background : blue;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published