Can someone explain the difference between using @media (max-width: 1000px) and @media and screen (max-width: 1000px) in CSS? When I tested them separately in my code, they seemed to have the same outcome.
@media and screen (max-width: 1000px) {
.grid {
width:100%;
{
}
and
@media (max-width: 1000px) {
.grid {
width:100%;
{
}
Will both have the same impact on my grid element when the screen width is at or below 1000px?
I'm curious as to why CSS guidelines suggest including 'and screen' when it doesn't seem to make a difference in the end result?