@correlucas
Posted
πΎHello Damian, congratulations for your new solution!
Answering your question:
Its better you use px/rem
instead of %
for the radius, because if you use percentage this will consider the elements size and the border radius will vary depending of the element. Think about using relative units as rem
or em
instead of px
to improve your performance by resizing fonts between different screens and devices.Anyhow, if we want a more accessible website, then we should use rem instead of px. REM does not just apply to font size, but to all sizes as well.
βοΈ I hope this helps you and happy coding!
Marked as helpful
@damiandev22
Posted
@correlucas, I was hesitant about using rem for angles. Thanks a lot.