Good day
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.
CODE
1.body {
2.background-color: #151515;
3.font-family: averia_sans_librelight;
3.color: #fff;
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?
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.