Card.js: Better Credit Card Form in One Line of Code

card-js-better-credit-card-form-in-one-line-of-code

Card.js is a better credit card form in one line of code. It will take any credit card form and make it the best part of the checkout process (without you changing anything). Everything is created with pure CSS, HTML, and Javascript — no images required.

ard ships with pure-CSS cards for Mastercard, Visa, Discover, and American Express. It’s under the MIT license. Feel free to use, modify, and distribute this library as much as you’d like.

How to use it ?

You’ll only need to include card.js and card.css into your header of your HTML files.

Other Resources Related with Card.js

  • Smart Validate: jQuery Credit Card Validation Plugin
  • Recurly.js: Easly Create Credit Card Form, Securely Subscriptions & Transactions with Recurly

Requirements: JavaScript Framework
Demo: http://jessepollak.github.io/card/
License: MIT License