Skip to content

javascript tool to detect device orientation and help with styling

Notifications You must be signed in to change notification settings

estevesd/jorient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

jorient

  • detects device orientation on mobiles
  • detects window size ratio on desktops
  • updates viewport size according to device orientation
  • adds "portrait" or "landscape" class on <body>

dependencies : jquery

About

javascript tool to detect device orientation and help with styling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published