@TSune-web
Posted
Hi Andrei Catalin Anghel!
Nice work! Speaking of border width as you asked, if I've understood correctly, you don't want to add border width to the height of the container, right? Your solution works fine, but if you don't want to think of calculating extra width, you can use:
outline: 1px solid color;
The outline property works similarly to a border, but the difference is outline doesn't add its width to the container. So, you don't have to think about extra width👍
I hope this will be helpful!
@soitirakis
Posted
@TSune-web thank you for the advice. I will try it like that as well. Happy coding