2017-08-24 4 views

Antwort

0

Ich verwende normalerweise die :focus Selektor mit input[type] Tags.

Zum Beispiel

#text1{ 
 
width: 100px; 
 
height: 60px; 
 
border: 1px solid gray; 
 

 
} 
 

 
#text1:focus{ 
 
border: 1px solid blue; 
 
}
<input type="text" id="text1" />

:focus Mittel geklickt und konzentriert.