Solution to visible border on button click in bootstrap5

To solve the problem of the border being visible when a button is clicked in Bootstrap 5, use the following CSS:

button:focus{ 
 box-shadow: none !important; 

} This will hide the border shadow when the button is focused and solves the problem of the border being visible when the button is clicked.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top