@correlucas
Posted
๐พHello @Mileenka, Congratulations on completing this challenge!
Nice code and nice solution! You did a good job here putting everything together. Iโve some suggestions for you:
1.Add transitions to make the interaction smoother while the element gets hovered, you can use a value like transition: all ease-in 0.5s
.
2.Add a margin of around margin: 20px
to avoid the card touching the screen edges while it scales down.
3.Use units as rem
or em
instead of px
to improve your performance by resizing fonts between different screens and devices.
To save your time you can code your whole page using px
and then in the end use a VsCode plugin called px to rem here's the link โ https://marketplace.visualstudio.com/items?itemName=sainoba.px-to-rem to do the automatic conversion or use this website https://pixelsconverter.com/px-to-rem
โ๏ธ I hope this helps you and happy coding!
Marked as helpful
@Mileenka
Posted
@correlucas @IDev11
Thank you very much for your help. Already corrected. I made the transition, included a margin and converted px to rem. Thank you for the VSC plugin. It turned out to be very helpful.
Have a nice morning and for the rest of the day :)
@correlucas
Posted
@Mileenka Have a good day too Mileenka!