Design comparison
SolutionDesign
Solution retrospective
Hi, I have a problem with the button. In my browser I can't get rid of the black border around the button even with outline: none. This is my first time using SCSS so I appreciate any help from everyone Regards, Hakanai
Community feedback
- @zoedarkweatherPosted about 1 year ago
Hi, to remove the border on your button, instead of outline:none, set border: none. Outline is different than a border - it refers to the outline that appears when an element has focus. And you should, as a general rule, not remove the focus outline because it causes accessibility issues. Hope this helps.
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord