“foco seletor CSS” Respostas de código

foco seletor 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;
}
Frightened Fowl

CSS Focus

/* Cible n'importe quel élément <input> */
/* uniquement lorsqu'il a le focus */
input:focus {
  color: red;
}
Mind Wreck

Respostas semelhantes a “foco seletor CSS”

Perguntas semelhantes a “foco seletor CSS”

Mais respostas relacionadas para “foco seletor CSS” em CSS

Procure respostas de código populares por idioma

Procurar outros idiomas de código