Customize the appearance of your checkout page and visually enhance the user experience by displaying an animated icon while the checkout is being processed.
This code recipe will display a pure CSS animated horizontal loading bar that appears next to the Processing text indicator on checkout when clicking on the submit or checkout buttons.

The Code Recipe
Adding the Recipe to Your Website
You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.