<a> change border color?

Am I the only one who finds it odd that <a> tags change the border color of a div if no other color was specified?

This caused some confusion with: CSS border on element

Does anyone else find it odd? Just me?


If border color isn’t provided it is set to currentColor and anchor tag indeed changes it’s (current) color. It’s expected behaviour and there is nothing really odd.

1 Like

Thanks for the response. I wasn’t aware of the currentColor keyword or that <a> modifies this. Cheers!