We are starting development using Formfactor detection libraries such as FormfactorJS - mind you, I created this.
In a theory using the same semantic HTML, you can specialize your CSS and Javascript using devices for this class (smartphone, tablet, desktop, etc.), and also consciously respond to an individual device profile using Media Queries .
source
share