CSS overflow: a visible property allows content to be displayed outside the box element. However, Firefox displays content that overflows the window with a transparent background that makes visible below it. For instance:.
<div style = "background: red; height: 30px;">
I want this to have <br>
an opaque background.
</div>
<div style = "background: white">
So that it does not show what is below.
</div>
Is there a way to make all the contents of the first div complete using an opaque background?
source
share