Tue, 2016-07-19 13:18
suppose i am developing a web site and i am viewing this web site from 2 PC computers both has screen with 1980x1080 physical pixels , 1980x1080 css pixels ( pixel ratio = 1) but one PC has a screen with physical size of 16 inches while the other is 60 inches (demo screen ,people stand 2 feet away to watch the web site) . obviously the 60 inches screen should have a much smaller font size. How is this handled in CSS ? is there any way i can target a devise by PHYSICAL screen size ?
what is in my mind ? i think that the CSS pixel width should be calculated by a combination of:
- the physical size of the screen (how many inches in width)
- the "normal" viewing distance of that screen ( projector that people view from many feet away VS laptop screen viewed from few inches)
- the vision of the person
that info could by reported from the OS to the browser. now ,because CSS committee folks are smart people i think i am probably wrong. the question is why i am wrong?