-
Book Overview & Buying
-
Table Of Contents
Mastering HTML5 Forms
By :
CSS3 brings us infinite new possibilities and allows styling to make better web forms. CSS3 gives us a number of new ways to create an impact with our form designs, with quite a few important changes. HTML5 introduced useful new form elements such as sliders and spinners and old elements such as textbox and textarea, and we can make them look really cool with our innovation and CSS3. Using CSS3, we can turn an old and boring form into a modern, cool, and eye catching one.
CSS3 is completely backwards compatible, so we will not have to change the existing form designs. Browsers have and will always support CSS2.
CSS3 forms can be split up into modules. Some of the most important CSS3 modules are:
Selectors (with pseudo-selectors)
Backgrounds and Borders
Text (with Text Effects)
Fonts
Gradients
Styling of forms always varies with requirements and the innovation of the web designer or developer. In this chapter, we will look at those CSS3 properties with which we can style our forms...
Change the font size
Change margin width
Change background colour