To make the background fill the whole page you need to make it and everything above it to have 100% height.
html,
body,
.card {
height: 100%;
}
To make the div appear only on hover, you’re doing it right. Make sure to set it to where you want it to appear after the transition is done, in our case, in the bottom.
To make it appear from below, then we need to put it there before any transition. The important piece is the bottom: -100px, it will stay there until someone hovers .card, then it will transition to bottom: 0.
hmm. Thanks for the demonstration. I think that I didn’t express myself correctly.
actually my “end goal” is to create a project gallery section on my portfolio.
so there will be multiple “cards” on one page.
Good work! I think it shouldn’t be hard, especially if you expand the banner to be the same width of the parent. You get the width of the parent and set it as the left property of the banner.
I will. this is only one part of my whole portfolio redo.
and I will tag you if I finished this section as well as the whole thing.
what I am doing right now are things I couldn’t even imagine I can do a few months ago.
2 months ago I can only do some single page site that basically have some images as well as text in it.