The aspect ratio is defined as the ratio of the width media features to the ratio of height media features W:H. And the aspect ratio 16/9 is 42:32. The below Media query allows targeting the media query based on device-aspect-ratio, which is 16/9. @media screen and (device-aspect-ratio: 16/9) {
/* Your code here */
} It's no surprise that this one pops up often in CSS interview questions for freshers.