So I'm trying to aim three different version of screen with css media queries. They differ in their heights. 900px, 1080px, and 1200px. I've tried all kind of stuff and the best that partly works for now is this one:
@media (height: 900px) {
.body-base{
height:78%;
}
}
@media (height: 1080px) {
.body-base{
height:82%;
}
}
@media (height: 1200px) {
.body-base{
height:85%;
}
}
I'm saying partly working because upper code only works in Firefox but not in Chrome or Opera for example... What am I doing wrong? And what is the right way that this kind of css settings works across all browsers?