Defines the style to display when an element receives focus.
Class | Properties | |
---|---|---|
outline-none | outline: none; |
<div class="m-3 flex">
<input class="mx-3 p-2">
<div class="mx-3">Default browser focus styles applied</div>
</div>
<div class="m-3 flex">
<input class="outline-none mx-3 p-2">
<div class="mx-3">Default focus styles removed</div>
</div>