(CSS) How position text (with background color) over <img> tag without absolute positioning
问题 As the title says my code is something like this : <div class=container> <img/> <div>some text with line one, line two , line three </div> </div> the container should have overflow:hidden and my text would be in more than one line , so I need only a small part of my text to appear at the bottom of container, so when user hovers, the full text appears. I want to position text over img WITHOUT absolute positioning. I tried negative margins, but text wouldn't have BG color there. Also tried