Styling HTML5 forms with CSS3
Our form is now fully functional across browsers so now we need to make it a little more appealing across different viewport sizes. Now, I don't consider myself a designer, but by applying some of the techniques we've learned throughout the previous chapters, I still think we can improve the aesthetics of our form.
Note
You can view the styled form at example_09-02
, and remember, if you don't already have the example code, you can grab it at http://rwd.education.
In this example, I've also included two versions of the style sheet: styles.css
is the version that includes vendor prefixes (added via Autoprefixer) and styles-unprefixed.css
is the CSS as written. The latter is probably easier to look at if you want to see ...
Get Responsive Web Design with HTML5 and CSS3 - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.