@correlucas
Posted
👾Hello Samuele, Congratulations on completing this challenge!
I saw your preview site and I liked a lot the work you’ve done here, it's almost complete, I’ve some suggestions you can consider applying to your code:
1.The value you’ve used for the shadow make it too much dark and strong. To improve your box-shadow, you’ve to have in mind two things that make a good shadow, blur
and low opacity
for smooth shadows. To improve your current shadow, decrease the opacity
and increase the blur
, try this value instead: box-shadow: 12px 7px 20px 6px rgb(57 75 84 / 8%);
If you’re not familiar to box-shadow you can use this site to create the shadow design and then just drop the code into the CSS: https://html-css-js.com/css/generator/box-shadow/
2.To improve your component overall responsiveness, something you can do its to create a media query to save space in the pricing section
to make each information in a different row. Here’s the code for this media query.
@media (max-width: 350px) {
section {
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--Very-pale-blue);
margin: 1.5rem 2rem;
padding: 1.25rem;
border-radius: 0.7rem;
}
}
✌️ I hope this helps you and happy coding!
Marked as helpful
@frasconi00
Posted
@correlucas Thank you so much, I really needed some tips for the shadow!