Sometimes, we want to remove or disable focus border of browser with CSS.
In this article, how to remove or disable focus border of browser with CSS , we will look at.
How to remove or disable focus border of browser with CSS?
With the help of CSS, we select the styles for the :focus
pseudo-class to remove or disable focus border.
For instance, we write
:focus {
outline: none;
}
to set the outline
style to none
to remove the border of the element that’s in focus.
Conclusion
With the help of CSS, we select the styles for the :focus
pseudo-class, to remove or disable focus border of browser.