I just finished a new design and have a small problem. I want the background-color: 000; grows with the content and that without a fixed height.
I remove min-height: 500px; the background disappears completely.
A minimal demo in CodePen would help to clarify the problem. Note that we don’t need your whole codebase. Unfortunately the code you’ve posted doesn’t show a black background, or min-height, so it’s hard to offer specific help.
That said, maybe you need to apply the background-colour to the html element?
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.