-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hey, first of all thanks for your wonderful project!
I think usage example can be updated to something along the lines of:
// npm install --save text-security
@import "text-security/text-security.css";
.my-password-field {
/* Use -webkit-text-security if the browser supports it */
-webkit-text-security: disc;
}
@supports not (-webkit-text-security: disc) {
.my-password-field {
font-family: text-security-disc;
}
}This will allow skipping font download when browser supports -webkit-text-security: disc natively, and only use it for Firefox or older browsers.
Metadata
Metadata
Assignees
Labels
No labels