form design

Hello friends, today in this blog you will learn how to make payment form page design with the help of html and CSS. You may have seen many forms designed before it, which are designed with JavaScript or jquery, but you will only learn to design this form using CSS.

We have previously designed login form , registration form and contact us form, which you can read and get the source code by clicking on this link, this form is also designed using html and CSS only.

If you are in the beginning of all this or you have learned html and CSS then you should stay with us which will help you to design a beautiful and attractive payment form page. Which you can see in this photo.


You are seeing this picture, it is created by writing only html and CSS code which is very rarely designed in this way which is made with the help of html and CSS that you are looking at

The social media icons have been placed on the left side along with the input field of this payment form page, which has been added to the input field. On clicking in the input field, the border of the input and the background color of the icons focus which you can see in the image, in addition to the input field, the radio button has made a button of gender and payment detail which is attractive to see.

 Payment Form Page Design Source Codes

First of all, we know about html source code. To create this payment form under of the body has taken a div whose class name is given wrapper, inside which many tags are used, inside this wrapper we took <h2> tag which we The title says: Payment Form is written inside this heading

The form tag is written under this heading which is taken as method = "POST". Inside this form, a heading tag named <h2> and seven div is taken, whose class name is written input-group, the first of these seven divos. Two divs are taken inside the div, whose class name is input-box. Within this div we have taken the text of whose input tag and the <i> tag is taken under this input tag <i> tag is taken as the font icon. Written as <i class = "fa fa-user icon"> </i>

And inside the second div of the class input-group, we have taken a div whose class name is input-box and inside these div has taken input tag whose type is Email and placeholder Email Adress which is required for this input and this The class name of this i tag, taken under the input, is written fa fa-envelope icon. Fa fa-envelope is written inside this class name for the font icon that appears as an email icon.

Within the third line of the class input-group, inside this class took a 2 div tag named input-box, the first <h4> tag inside the first div, with the date of birth text written under it, three inputs below this h4 The tag is written whose type text is written and the placeholder for all three inputs is DD MM and YYYY and the class name of all three is dob liya which is easy to steal. And inside another the input tag of gander button is taken which is named Male and Female.

And other tags are written as html tag of payment which is styled in css. Let's know something about styling of css of this payment form.

First of all in css we do margin padding 0 inside * and boxed box-sizing and then styled the body color and font-family inside the body div whose class name is wrapper of its stealing. Know about

For the payment form page, we have taken a div whose class name is wrapper. For this class, we know about styling in css. We have given background-color, padding margin and box-shadow to the wrapper which you can see in the image above. Are looking

Inside this wrapper we had taken seven div tags named class-input-group. This input-group is styled in css which is styled with margin padding and position display and flex-direction which you image above See if you like JavaScript and python well then you can use this type of form in your blogger or website.

If you are having difficulties in understanding the payment form design, then you can understand and understand the code of this form by watching the video tutorial.

 Video Tutorial of Payment Form Page Design



I hope that you have understood by looking at this payment form tutorial and you would have also learned about this form code. If you want to get the source code of this payment form then you can get the code of this form

To get the code of this form, you have been given two files, one is html file code and the other is the CSS file code, scroll down and copy these files and paste them on your file. Which you will understand and easy.

HTML CODE FILE :



CSS CODE FILE :

1 Comments

Post a Comment

Previous Post Next Post