Query about Html <input type="password> tag…?

前端 未结 4 592
失恋的感觉
失恋的感觉 2021-01-22 04:53

I have seen different Password masking characters in different logon screens instead of \"a big black dot\". How can I change the Password masking character in password field.

4条回答
  •  灰色年华
    2021-01-22 05:22

    With css3 there's a solution: you can use a custom font that contains ONLY your masking character so every character you'll type will be converted to it.

    Make sure to make it compatible also with non css3 browsers like IE leaving the default marker if the font feature is not compatible.

提交回复
热议问题