What is the difference between @media (max-width: 1000px) and @media and screen (max-width: 1000px) in CSS? I tried them out seperately in my code and they both do the same exact thing
@media and screen (max-width: 1000px) {
.grid {
width:100%;
{
}
and
@media (max-width: 1000px) {
.grid {
width:100%;
{
}
Will both have the same effect on my grid element when the screen width is 1000px or less
Why do CSS guidelines say to write and screen if without it we get the same reuslt?