2011-04-21 4 views

Répondre

1

En CSS3, vous pouvez utiliser la déclaration ::selection.

::selection { background: #00FF00; } 
+0

Si j'appuie sur tab pour sélectionner le champ de texte, il y a toujours un arrière-plan. Thans pour répondre, VVW – VVWdefect

0

Il y a plusieurs façons, mais le plus facile toute utilisation CSS. Lire sur CSS background-color et CSS3 hover.

1

Vous pouvez utiliser ::selection CSS pour y parvenir. Par exemple:

::selection { 
background:#fff; 
color:red; 
} 
Questions connexes