I need to develop some html pages for iphone/android phones, but what is the difference between max-device-width and max-width? I need to use different css for different screen size.
@media all and (max-device-width: 400px)
@media all and (max-width: 400px)
What's the difference?
max-device-widthworks even if<meta name="viewport" ...>tag is not included for small screen devices andmax-widthdoesn't work without ametatag - Faizan Akram Dar