@chirag-bishnoi
Posted
Hello there, the card is good but I'm seeing two problems in the layout. The background shadow only appears when we hover over it even though it was part of the card so it was suppose to stay there without hover.
Another thing that I noticed is that there is horizontal and vertical scrolling this is because the content is overflowing because you have given your main
tag width: 1440px;
and height: 960px;
to fix this issue remove both width and height from the main tag.
To fill the white space from underneath give your body minimum height of 100vh
body {
min-height:100vh;
background-color: #f4d04e;
display: flex;
flex-direction: column;
justify-content: center;
}
remove the flex from the main tag and give it to the body instead. And don't forget to change the flex direction!
and this will solve the issue :)
Marked as helpful
@juancmdev
Posted
@chirag-bishnoi thanks for your helpfull review, I´ve made the changes and my procject looks so good.
Thank you so much.