SVG Credit Card Logos
Flexible SVG credit card logo assets and CSS.
Install
npm install -S credit-card-logos
LESS Usage
"node_modules/credit-card-logos/index.less"; > .init // Initialize with path to logos on your webserver // Default: `/img` @path: '/path/to/logos' // Specify the base width of the element // Default: 160px; // (optional) , @width: 160px // Specify the base height of the element // Default: 100px; // (optional) , @height: 100px;
In a build step, copy the files from the /img
directory of this module to your own public directory (preferably one that is ignored from vcs).
HTML Usage
<!-- Small Variant --> <!-- Large Variant -->
Building
After cloning, run
npm install
gulp build
Licensing
The SVG assets were found on https://www.iconfinder.com/ and had Creative Commons license.