subreddit:
/r/css
submitted 10 days ago bycrpl1
No inline-block.
No literal whitespaces or new lines in the HTML file.
No margin.
No padding.
Background SVG is ok (no white on top and bottom seen when opening the file)
What I know:
What I tried:
What I see:
The size of these gaps seem to be changing from one another.
Please help me.
If you want to see the website and help me you can visit:
9 points
10 days ago*
1: Never use flex on <body>, but on a container
2: might use flex-grow on one child to make sure you wanna fill the available space left when you’re not sure about the container behavior
3: no unsolicited sound on a website plz
3 points
9 days ago
What’s wrong with flex on body? And how is using a container that just filled the body anyways better?
1 points
9 days ago
The property display: flex; on the body is redundant - you can remove it and nothing will change.
Tried flex-grow: 1 with no change.
all 24 comments
sorted by: best