Change text at points in a text box using CSS / Javascript

Is there a way to “mask” a text box input to act like a password field (to show dots instead of text) without creating a password type text box? We prefer CSS over javascript ...

any ideas?

+3
source share
3 answers

This might be the answer you were looking for:

-webkit-text-security: disc;
-moz-text-security: disc;
text-security: disc;
+6
source

There are ways to change the way characters are displayed when they are entered in the field ( http://blog.decaf.de/2009/07/iphone-like-password-fields-using-jquery/ ), but password masking cannot be achieved using basic CSS.

, , , ( ), @font-face, . @font-face , - .

, ? :

  • ,
  • ( )

, , . .

+5
0
source

Source: https://habr.com/ru/post/1761706/


All Articles