#removing extra space

7 messages · Page 1 of 1 (latest)

gleaming anchor
vale wing
#

I cant access my laptop right now but i think if you add height: 90vh it should work to the container div

gleaming anchor
#

i added height: 90vh; just now, but it hasnt changed :c

sleek hearth
#

You mean the white space at the bottom ?
Well, that’s because the viewport is taller then the height of your content.
Do you want to stretch your content all the way down? Check that you don’t have any fixed heights, change to min-height (suspects are the color bars)
Or use any techniques to center that main element so it’s cantered relative to viewport. Make sure it allows to shrink on small viewports

gleaming anchor
#

thank you

#

this messes up the placement of the hex code because i was just using margin-top

#

but ive tried using display: flex and then align-self: flex-end but i want it to be beneath the colors, not on top of them