+ 3
@media screen and()
does solo learn not support this or am I am not doing something right? From my understanding the following code should set the parameters to the selectors only if the condition is true. @media screen and(max-width:1081px) so in this case if the device screen is less than 1081 px wide.
2 Respuestas
+ 7
Space is required between 'and' and the opening parenthesis (round bracket):
@media screen and (max-width:1081px) {
body {
background:red;
}
}
+ 1
I will give that a try thanks for the reply.