Masked Text Box CSS API Reference

All Common CSS variables:

    The following CSS selectors can be used to style Masked Text Box:

    • smart-masked-text-box - the element itself. Can be used to set width and height for the whole element.
      • .smart-container - the container that holds all of the internals of the element. Shoudn't be used for styling.
        • .smart-label - an HTML Span element used to hold the label above the element.
        • INPUT element - an HTML Input element of type "password" used for the user input.
        • .smart-hint - an HTML Span element used to hold the hint below the element.

    Demo

    <style>
            #maskedtextbox{
                    --smart-color: #ccc;
                    --smart-font-size: 20px;
            }
    </style>