ResolutionChecker demo
This is a pure CSS solution to get the current risolution and orientation.
Resize the browser window or change your device orientation (portrait/landscape) to see it in action.
www.css.plus
Smallmobile
landscape portrait
Mobile
landscape portrait
Tablet
landscape portrait
Notebook
landscape portrait
Desktop
landscape portrait
Wide
landscape portrait