property

webkit text security — CSS reference

Nonstandard visual masking of text using a disc, circle or square. It does not protect the underlying value from scripts, browser tools or copying. Use a password input for ordinary password entry, and never confuse cosmetic masking with encryption.

Formal Syntax & Structure

css syntaxcss
-webkit-text-security: disc;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>-webkit-text-security</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{-webkit-text-security:disc}</style><body><label>Demo only <input id="a" value="demo"></label></body></html>
CSS Reference