Credit Card Payment Form (imask.js, SVG, CSS) | Bypeople

Credit Card Payment Form (imask.js, SVG, CSS)

A payment form built with a simple SVG that changes values as the user fills out the form. It is created using vanilla JS and the imask.js library, with regex patterns to detect the credit card type as the user is inputting values and adequately applies the appropriate spacing associated with that brand. Created by CodePen user Adam Quinlan.



Related Deals


Related Posts