I am looking to add a specific class to image elements, but only for those that are in landscape format.
Is there a way to target images in my HTML with a width/height ratio greater than 1, similar to how media queries work with the "device-pixel-ratio" filter?
Currently, I am achieving this through JavaScript, however it may be more efficient to do so with CSS (or utilizing a CSS framework like Less, Stylus, Sass, etc.).
Any assistance is greatly appreciated. Thank you!