This document discusses making websites responsive for different devices. It covers using CSS media queries to apply different styling based on screen width, height, and other device features. It also covers using viewport meta tags to control zooming and scaling on mobile browsers. The goal is to build sites that can adapt their layouts across various devices like phones, tablets, and desktops.
29. mobile devices lie
“to lie is to state something with disregard to the truth with the intention
that people will accept the statement as truth” thanks wikipedia
38. CSS Device Adaptation
@viewport {
width: device-width;
}
@viewport {
width: 320px;
zoom: 2.3;
user-zoom: fixed;
}
dev.w3.org/csswg/css-device-adapt
only works in Opera Mobile 11 at the moment, with -o- prefix
dev.opera.com/articles/view/an-introduction-to-meta-viewport-and-viewport
40. high-dpi devices
...is where my brain starts to melt
dev.opera.com/articles/view/an-introduction-to-meta-viewport-and-viewport
developer.android.com/reference/android/webkit/WebView.html