This is pretty sweet material design inspired 3d credit card form by Muhammed Erdem, it uses Vue.js. There are some sweet animations and micro-interactions as you enter your card details. It also does some validations on the fly, you can test it with dummy credit card numbers to see how it automatically detects the card type.
If you are having trouble with the pen, try the copy on GitHub and our archive copy.
Credit Card Microinteractions Snippet
See the Pen Credit Card Form – VueJs by Muhammed Erdem (@JavaScriptJunkie) on CodePen.0