Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.44 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.44 KB

Vue Card


A credit card UI module made with VUE.js Check out the Demo

Install


Base on Bootstrap and Vue.js 2.0.

Usage


Change card theme


To change or customize the card type you want, you can just change the class name on the section tag with the class "credit-card".

There are 5 default color theme is available:

  1. primary
  2. oliver
  3. champagne
  4. silver
  5. black

Remember to add your new theme class name inside this the array variable when cutomized new theme.

var cardTypes = ["primary", "oliver", "champagne", "silver", "black"];

Card numbers detaction



Auto card type detaction with Vue.js condition statements.

Auto flip


Pure CSS auto flip UI when input the data of CVV.

Binding data


The input text area below the credit card, each of them has a v-model attributes inside the tag, which are using to binding the data via VUE.js.

License


Made by Andy Huang in Kyosei.ai@ 2016 ⛵