+ 2
Can someone tell me why text colour will not change when the screen is reduced to under 450px?
h1{ Color: red; font-size:50px; } @media only screen and (max-width:450px){ h1{ color : blue; } }
3 Réponses
+ 3
increase your max-width to 550px to max if you want the front to be blue if that's not the case your h1 was already defined to red so you cant do nothing about it.
+ 2
@media without space
and color not colour
0
But why 550px not under 450px