For an input field, this is one of the best styles one can have using the 2D vector math library of javascript. This style appears on the box while the user is typing in the input field. This can be achieved using HTML, script math library and CSS styles on your login forms, contact forms, websites, and even on your landing pages. In the HTML, a span element is added in the document. The input keys are added in the javascript for which the animation will be displayed. Next, you need to create a few math functions to create the spray along with the words which are typed in the input field. You can increase the burst of a spray of stimulated particles along the span on input field from left to right and top to bottom. You can see the math for particle stimulation along with the 2D vector class. Source: https://codepen.io/rikschennink/pen/VaqNgx
With google guidelines for the material design, you can have clean, smooth and sleek designs for your web pages. Material designs can be used in all supported versions of Android devices. Further, it will be extended gradually throughout Google’s web ance mobile products. This will provide a consistent UI/UX experience across all the platforms. This is one of the designs following the google guidelines. This snippet is of the form with two inputs. Once you have an input field focused you would experience a transition of the label to the top corner. You can set the position to bottom or top of the labels when the input field is an inactive state. By following the Material Design of Google you would not have to worry about the user experience of the forms on various platforms. This is specially design for Android devices and hence you can check out the responsive behavior. Source: https://codepen.io/chrisoncode/pen/IdGKH
This is an example of the input box which is subtle and can be used in any site with the animation used for the input text. Once you select the input field the label glides smoothly towards the top of the field and allows you to type the text, along with it the color of the text and border of the input field is also changed. The HTML is very simple with the class centered and group applied to the input and labels. All the animation and styling is taken care by CSS3. Once you click the label is transformed along the axis to glide upwards. The style also has the code to stop the chrome’s hideous pale yellow background color to be displayed while you do an auto fill. You can use this as an example to create contact forms. Source: https://codepen.io/kylelavery88/pen/adbzLQ
This is a classic example of input form. As said it is inspired by Googles material design guidelines especially for the text fields. The guidelines used to design the text fields along with its specifications described in the document by Google. The text fields used are filled text which once clicked the labels neatly move up during the users interactions. You can also have field validations on these text fields. The moving of labels is due to the transition method used in CSS. The CSS is perfectly created to match the guidelines and the form. You can use this form as it is to you application with the functional submit and cancel buttons as needed. Make sure that you have required validation in the form checked. Also for this you require CSS3 to see the moving transition and effects added to the field. Source: https://codepen.io/lewisvrobinson/pen/EyZwjR
This is an example of the input box which is clean, subtle with input text animation. The design easily blends with any type of website. This has an input text designed to make a perfect option for any type of text fields. Once the input field is selected then the label for the field glides smoothly upwards allowing you to add the details clearly in the field. This snippet has a form with two inputs which are of filled type. The entire effect is achieved using CSS 3. With the CSS being more effective in adding transitions and animations, we are not depended on a complicated script to make it interactive, unlike earlier days. Filled input type is used with the borders displayed with red color initially. Once you start typing in the input field, it turns into green. Source: https://codepen.io/atunnecliffe/pen/gpKzQw
This is an excellent way to engage your audience, in case of design resource website or font designer. There are various text effects added in this snippet to which allows you to see the exact differences between them. To the left there is a drop-down option to select the effect and then you can see the effect on the text box. This will allow you to select the effects for your websites. HTML for this snippet is simple with the selector and input fields. The functionality depends on the javascript code. There are various covered like bounce, fadeIn, fadeUp, etc. which are added using the script and later the animation is added to the character. The script takes the care of all the keyboard characters and special characters which can be added in the input field along updating of the arrows. Source: https://codepen.io/andyNroses/pen/pbBWBL