% the percentage is derived from the elements width?
you can use that so set a images parent element to height 0 and padding 66% (or anything) and then set the image to absolute positioning
that way you can cut images to a certain aspect ration with CSS only
I don't understand this sorry
Обсуждают сегодня