2017-09-06 14 views

答えて

1

透明とテキストシャドウの色のテキストカラーを適用します。

input { 
 
    width: 100px; 
 
    border: 1px solid black; 
 
    padding: 10px; 
 
} 
 

 
input.masked { 
 
    color: transparent; 
 
    text-shadow: 0 0 0 red; 
 
}
<input type="text" /> 
 

 
<input class="masked" type="text" />

+0

これは、iOSのために働きますか? – ccd

関連する問題