Customizing outline for Focus State in CSS


Style the outline property to enhance visibility and design when elements are focused.

Source Code

:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments