0
0

0
0
0

Can i write media query on height based ?

Yes you can :)

Some times we have to fix the design issues according to the windows height also, that time css media query height based styles will helps you, its very easy just try the below code you can change the height value to according to your required height .

 
 
@media screen and ( max-height: 480px ){
    background: red;
}