Close

Simple payment card

This is an example of a simple payment card, designed using CSS, HTML, and Bootstrap framework 4. The card image is imported to the code with its URL. The body of the form is given a background color of #ffffff, whereas the payment card is given the styles of background-color as #fff, width as 300px, border-radius as 15px, and box-shadow as 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19). The user name is displayed with the styles of font-size as 15px, and color as #403f3f. The total amount due text is displayed with the styles of font color as #137ff3, and font-size as 12px, whereas the due amount is displayed using the styles of font color as #007bff, font-weight as bold, and font-size as 18px. The 'Other amount' input text is given a font-size of 18px, and a font-weight style as bold. The 'Pay amount' button is created as a primary type button and given a style set of width as 150px, height as 60px, border-radius as 8px, and font-size as 17px. Source: https://bbbootstrap.com/snippets/bootstrap-payment-card-78609579

Post Comment or Questions

Lorem ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Your email address will not be published. Required fields are marked *

Several Related Snippets

Lorem ut labore et dolore magna aliqua. Ut enim ad minim veniam.