I came across this question as I tried to emulate an input password, but overlapping another div with β’ not an option for me, since I wanted it to work without JavaScript.
Then there is text-security: disc , but support is not enough at this point.
So, I created a font on FontStruct , in which all Latin characters (including diacritic ) look like β’ .
Here is the link to the file on Dropbox .
When using this, just add this to your css file
@font-face { font-family: 'password'; src: url('../font/password.woff2') format('woff2'), url('../font/password.woff') format('woff'), url('../font/password.ttf') format('truetype'); font-weight: normal; font-style: normal; }
Then, to use it, simply apply font-family: 'password' to your element.
PS If the Dropbox link is not available and you downloaded it, feel free to replace the link. Otherwise just give this answer a comment
Gust van de wal
source share