@correlucas
Posted
👾Hello @Chrisesbueno, Congratulations on completing this challenge!
Great code and great solution! I’ve few suggestions for you that you can consider adding to your code:
1.I saw that for some properties you’ve used rem
and for others px
. In this case, it is better to use only one kind of unit to have a better organization for your code. relative units
as rem
or em
have a better fit if you want your site more accessible between different screen sizes and devices. REM
and EM
does not just apply to font size, but to all sizes as well.
2.The box-shadow is a bit too strong, this is due the opacity
and blur
. The secret to create a perfect and smooth shadow is to have low values for opacity
and increase 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/
✌️ I hope this helps you and happy coding!
Marked as helpful