Mastering CSS Basics: Avoid Box Model Issues with border-color
You Want border-color: transparent, Not border: none by Dave is a great reminder to not remove borders from components for accessibility reasons, especially to better support high contrast mode.