@Zy8712
Posted
Your layout looks pretty solid. To answer your questions:
- You can add shadows by using something like: box-shadow: 0 10px 30px hsla(0, 0%, 0%, 20%);
- The box shadow is added to your div with class of "container"
- for the mobile layout you can adjust your .main under the @media tag with:
.main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
This should give you a vertical layout with your boxes that you could adjust accordingly.
So additional things I might suggest for you to have a site closer to the original design is the use of linear-gradient for you background.
Your current background for the results box looks like this:
background: var(--Light-royal-blue);
.
In order for you to get the same background as the design you should probably use this instead:
background-image: linear-gradient(var(--light-slate-blue), var(--light-royal-blue));
.
This can also apply to the circle in the results div:
background-image: linear-gradient(var(--theme-violet-blue), var(--theme-persian-blue));
.
Hope I was able to help you in some sort of way. You are welcome to look at my solutions if you feel the need to.
Marked as helpful
@Phinda824
Posted
Thank you so much, now I understand what I can do. Also I would love to look at your solutions, I need to @Zy8712