Questions about CSS Media Queries


I have a few unanswered questions about CSS Media Queries that I hope you all can answer.

1. What are the differences between the codes listed below? Which one should be used in certain situations? Does it matter?

@media screen

@media only screen

@media all

2. I am unclear about

max-width and max-device-width

can you please explain?

Thanks :smiley: