Device state detection with CSS media queries and JavaScript Device state detection with CSS media queries and JavaScript Like this:Like Loading...