Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

focus selector css

The :focus selector is used to select the element that has focus.

The :focus selector is allowed on elements that accept keyboard events or other user inputs.

/* example */

:focus{
    outline: 3px solid black;
    outline-offset:3px;
}
 
PREVIOUS NEXT
Tagged: #focus #selector #css
ADD COMMENT
Topic
Name
2+8 =