Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 625 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 625 Bytes

Password Font

A custom font to deploy when there is a requirement to visually obfuscate user-entered text.

See:

CSS

@font-face {
  font-family: 'password' ;
  font-display: block; 
  src: url('/.assets/site/theme/elements/fonts/password/password.woff2') format('woff2'), /* Super Modern Browsers */
       url('/.assets/site/theme/elements/fonts/password/password.woff') format('woff'); /* Pretty Modern Browsers */
}

.myObfuscatedTextInput {
  width: 240px;
  height: 20px;
  line-height: 30px;  
  font-family: password, sans-serif;
}