understanding viewport width for responsive design
问题 after reading a lot about browser viewport width issues, I concluded to make a trial to see that if I understood the concept. I used javascript below: This script prints "Your viewport width is WidthxHeight" Element 1: At a 1920 x 1080 resolution, HP x2301 screen without any scroll bar: JS printed: Your viewport width is 1920x955 Element 2: At a 1920 x 1080 resolution, HP x2301 screen with scroll bar (I increased the height of page with lots of lorem Ipsum string paragraphs): JS printed: Your