Hi, I currently am using a carousel in wordpress which is set to occupy the screen entirely.
For now the height is set to 100%. That works well for portrait pictures. But the problem arise when I have landscape pictures that aren’t exactly the right sreen ratio, they fill height but leave a blank space on the right margin (which I don,t mind on portrait pictures since the blank space is important).
I would like a bit of css that works for the whole carousel depending on the image aspect ratio, landscape or portrait.