@AntoineC-dev
Posted
Hello Kounik. Congratulations on completing this challenge. It is well done.
However i have some suggestions for you:
-
Regarding your question I think the problem is that on the design each card has it's own shadow rather than the all section of card. You might wanna try this and see if it matches with the design files. It will also remove the "hovering effect" & sharp edges it gives to you card section in the current solution.
-
I would also add a bit more spacing between each card title and the review text below.
-
If you open your browser developer tools (with F12 for chrome and firefox) and look at the mobile version of your site you will see that you can't scroll through the page. This is because you set a
height: 100%
on your body. To fix this you should use the min-height property instead. I would also add some vertical padding so the first and the last card don't stick to the window borders.
body {
height: 100vh; -- Remove this
min-height: 100vh -- Add this instead
padding-block: 1rem
width: 100%;
background-color: var(--lgrayish-blue);
font-family: var(--barlow);
font-size: var(--fond-md);
display: flex;
justify-content: center;
align-items: center;
}
Again good job and happy coding. Peace π
Marked as helpful
@Valhalla-2
Posted
@AntoineC-dev thank you very much ,,, it is very helpful ,,, thanks for your feedback