Home › Forums › CSS › [Closed] How can I make tag behave like background-size: cover;? › Reply To: [Closed] How can I make tag behave like background-size: cover;?
background-size seems like a pretty good solution, to me. Simple, robust, very good support.
But if you prefer images, and if you can control the aspect ratio of the photo “area,” then you could probably make the
height:auto solution work just fine too (e.g., with hidden overflow on the container).
Can you show me an example (pen) that breaks?