June 14, 2019

207 words 1 min read

gabriellamas/Fancy-Checkout

gabriellamas/Fancy-Checkout

A animated experience for your checkout !

repo name gabriellamas/Fancy-Checkout
repo link https://github.com/gabriellamas/Fancy-Checkout
homepage
language JavaScript
size (curr.) 12085 kB
stars (curr.) 405
created 2018-09-11
license MIT License

Fancy Checkout

A animated experience for your desktop checkout !

animation

The first launch of a idea, be free to submit your improvements, let´s be open source!

A animated experience for your desktop checkout!

See in the browser, someone uploaded the project on cssscripts.com: Click Here :D

Project on behance here: HERE

Thanks!

How to use

Open the index.html file to see the full example.

<!-- css assets -->

<link href="https://fonts.googleapis.com/css?family=Nunito:300,400,900" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="dist/css/fancy-checkout.css">
<!-- js assets -->

<script src="dist/js/fancy-checkout.js"></script>
<script>
  const buyButton = document.getElementById('btn-comprar');
  buyButton.addEventListener('click', function () {
    buyButton.innerHTML = 'Processando...';

    // fake api request
    window.setTimeout(function () {
      // success return
      FancyCheckout.init();
    }, 2000);
  });
</script>

To do

  • Add form validation

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

comments powered by Disqus