I'm currently working on mimicking the style of Google Calendar, and I've encountered an issue with the text input box. When clicked, it should look like this: https://ibb.co/6Hqrnt4
However, what I've created ends up looking like this: https://ibb.co/HprQ125
In my attempt, my code looked like this:
.element{
border-radius: 2px;
border: none;
border-bottom: 2px solid;
}
You'll notice that in my version, the bottom border gets misaligned at the end. On the other hand, in Google Calendar's design, this doesn't happen. Although I acknowledge that the bottom border doesn't perfectly line up with the original grey box (zoom into the image), it isn't a major concern. How can I fix this issue?