Just getting started with SCSS and trying to maintain high quality cover images on my website. The CSS seems to be working fine, but the SCSS is giving me some trouble.
SCSS
#page-login-index {
@media screen and (min-aspect-ratio: 5/4) {
background-color: red;
}}
CSS
@media screen and (min-aspect-ratio: 5/4) {
#page-login-index {
background-color: red;
}}
I really need to figure this out in SCSS since I'm pulling in some elements from PHP. It's strange that aspect-ratio and device-aspect-ratio are not cooperating, while min-height is working without any issues.