Harness the latest capabilities of HTML5 and CSS to create a single UI that works flawlessly on mobile phones, tablets, and desktops — plus everything in-between
▶Book Description
Responsive Web Design with HTML5 and CSS, Third Edition is a renewed and extended version of one of the most comprehensive and bestselling books on the latest HTML5 and CSS tools and techniques for responsive web design.
Written in the author's signature friendly and informal style, this edition covers all the newest developments and improvements in responsive web design including better user accessibility, variable fonts and font loading, CSS Scroll Snap, and much, much more. With a new chapter dedicated to CSS Grid, you will understand how it differs from the Flexbox layout mechanism and when you should use one over the other.
Furthermore, you will acquire practical knowledge of SVG, writing accessible HTML markup, creating stunning aesthetics and effects with CSS, applying transitions, transformations, and animations, integrating media queries, and more. The book concludes by exploring some exclusive tips and approaches for front-end development from the author.
By the end of this book, you will not only have a comprehensive understanding of responsive web design and what is possible with the latest HTML5 and CSS, but also the knowledge of how to best implement each technique.
▶What You Will Learn
⦁Integrate CSS media queries into your designs; apply different styles to different devices
⦁Load different sets of images depending upon screen size or resolution
⦁Leverage the speed, semantics, and clean markup of accessible HTML patterns
⦁Implement SVGs into your designs to provide resolution-independent images
⦁Apply the latest features of CSS like custom properties, variable fonts, and CSS Grid
⦁Add validation and interface elements like date and color pickers to HTML forms
⦁Understand the multitude of ways to enhance interface elements with filters, shadows, animations, and more
▶Key Features
⦁Understand what responsive web design is and its significance for modern web development
⦁Explore the latest developments in responsive web design including variable fonts, CSS Scroll Snap, and more
⦁Get to grips with the uses and benefits of the new CSS Grid layout
▶Who This Book Is For
Are you a full-stack developer who needs to gem up on their front-end skills? Perhaps you work on the front-end and you need a definitive overview of all modern HTML and CSS has to offer? Maybe you have done a little website building but you need a deep understanding of responsive web designs and how to achieve them? This is a book for you!
All you need to take advantage of this book is a working understanding of HTML and CSS. No JavaScript knowledge is needed.
▶What this book covers
⦁ Chapter 1, The Essentials of Responsive Web Design, is a whistle-stop tour of the key ingredients in coding a responsive web design.
⦁ Chapter 2, Writing HTML Markup, covers all the semantic elements of HTML5, textlevel semantics, and considerations of accessibility. We also cover how to insert media such as video into our pages.
⦁ Chapter 3, Media Queries – Supporting Differing Viewports, covers everything you need to know about CSS media queries: their capabilities, the syntax, and the various ways in which you can wield them.
⦁ Chapter 4, Fluid Layout, Flexbox, and Responsive Images, shows you how to code proportional layouts and responsive images and provides a thorough exploration of Flexbox layouts.
⦁ Chapter 5, Layout with CSS Grid, is a deep dive into the two-dimensional layout system of CSS Grid.
⦁ Chapter 6, CSS Selectors, Typography, Color Modes, and More, covers the endless possibilities of CSS selectors, HSLA and RGBA color, web typography including variable fonts, viewport-relative units, and a whole lot more.
⦁ Chapter 7, Stunning Aesthetics with CSS, covers CSS filters, box shadows, linear and radial gradients, multiple backgrounds, and how to target background images to high-resolution devices.
⦁ Chapter 8, Using SVGs for Resolution Independence, covers everything we need to use SVG graphics inside documents and as background images, as well as how to interact with them using JavaScript.
⦁ Chapter 9, Transitions, Transformations, and Animations, gets our CSS moving as we explore how to make interactions and animations using CSS.
⦁ Chapter 10, Conquer Forms with HTML5 and CSS, explains how web forms have always been tough but the latest HTML5 and CSS features make them easier to deal with than ever before.
⦁ Chapter 11, Bonus Techniques and Parting Advice, explores the essential considerations before embarking on responsive web design and also provides a few last-minute nuggets of wisdom to aid you in your responsive quest.