Credit card payment form with different card types to select from
This is an example of a credit card payment form with different card types to select from, designed using HTML, CSS, and Bootstrap framework 4. The images are imported to the code with their URLs. The payment information form is given the styles of background color as blue, padding as 10px, border-radius as 6px, font color as #fff, and font-weight as bold. The credit card types are displayed using radio type buttons. The cursor style for the radio buttons is set as pointer to get the hand cursor effect on hover. The radio buttons are given a border style as 2px solid #ada9a9, display as inline-block, color as #8f37aa, border-radius as 3px, text-transform as uppercase to automatically convert the text to uppercase, font-size as 11px, and font-weight as 300. The radio buttons change the border color to #fff, in a checked event. The input fields are given the styles of font size as 13px, and font color as #fff. In a focus event, the input fields change the background color to RGB(102, 102, 221), and take a border effect of RGB(102, 102, 221).