Responsive web design with HTML5 and CSS3 : build responsive and future-proof websites to meet the demands of modern web users /


Ben Frain.
Bok Engelsk 2015 · Electronic books.
Omfang
1 online resource (312 p.)
Utgave
2nd ed.
Opplysninger
Includes index.. - ""Cover""; ""Copyright""; ""Credits""; ""About the Author""; ""About the Reviewers""; ""www.PacktPub.com""; ""Table of Contents""; ""Preface""; ""Chapter 1: The Essentials of Responsive Web Design""; ""Beginning our quest""; ""Defining responsive web design""; ""Responsive web design in a nutshell""; ""Setting browser support levels""; ""A brief note on tooling and text editors""; ""Our first responsive example""; ""Our basic HTML file""; ""Taming images""; ""Enter media queries""; ""Amending the example for a larger screen""; ""The shortcomings of our example""; ""Summary"". - ""Chapter 2: Media Queries - Supporting Differing Viewports""""Why media queries are needed for a responsive web design""; ""Basic conditional logic in CSS""; ""Media query syntax""; ""Media queries in link tags""; ""Combining media queries""; ""Media queries with @import""; ""Media queries in CSS""; ""What can media queries test for?""; ""Using media queries to alter a design""; ""Any CSS can be wrapped in a media query""; ""Media queries for HiDPI devices""; ""Considerations for organizing and authoring media queries""; ""Linking to different CSS files with media queries"". - ""Character encoding"". - ""The bumpy path to Flexbox""""Browser support for Flexbox""; ""Leave prefixing to someone else""; ""Getting flexy""; ""Perfect vertically centered text""; ""Offset items""; ""Reverse the order of items""; ""How about if we want them laid out vertically instead?""; ""Column reverse""; ""Different Flexbox layouts inside different media queries""; ""Inline-flex""; ""Flexbox alignment properties""; ""The align-items property""; ""The align-self property""; ""Possible alignment values""; ""The justify-content property""; ""The flex property""; ""Simple sticky footer""; ""Changing source order"". - ""The practicalities of separating media queries""""Nesting media queries 'inline'""; ""Combine media queries or write them where it suits?""; ""The viewport meta tag""; ""Media Queries Level 4""; ""Scripting media feature""; ""Interaction media features""; ""The hover media feature""; ""Environment media features""; ""Summary""; ""Chapter 3: Fluid Layouts and Responsive Images""; ""Converting a fixed pixel design to a fluid proportional layout""; ""Why do we need Flexbox?""; ""Inline block and whitespace""; ""Floats""; ""Table and table-cell""; ""Introducing Flexbox"". - ""Wrapping up Flexbox""""Responsive images""; ""The intrinsic problem of responsive images""; ""Simple resolution switching with srcset""; ""Advanced switching with srcset and sizes""; ""Did you say the browser 'might' pick one image over another?""; ""Art direction with the picture element""; ""Facilitate new-fangled image formats""; ""Summary""; ""Chapter 4: HTML5 for Responsive Web Designs""; ""HTML5 markup - understood by all modern browsers""; ""Starting an HTML5 page the right way""; ""The doctype""; ""The HTML tag and lang attribute""; ""Specifying alternate languages"". - Learn the HTML5 and CSS3 you need to help you design responsive and future-proof websites that meet the demands of modern web users About This Book Learn and explore how to harness the latest features of HTML5 in the context of responsive web design Learn to wield the new Flexbox layout mechanism, code responsive images, and understand how to implement SVGs in a responsive project Make your pages interactive by using CSS animations, transformations, and transitions Who This Book Is For Are you writing two websites - one for mobile and one for larger displays? Or perhaps you've already implemented your first 'RWD' but are struggling bring it all together? If so, Responsive Web Design with HTML5 and CSS3, Second Edition gives you everything you need to take your web sites to the next level. You'll need some HTML and CSS knowledge to follow along, but everything you need to know about Responsive Design and making great websites is included in the book! What You Will Learn Understand what responsive design is, and why it's vital for modern web development HTML5 markup is cleaner, faster, and more semantically rich than anything that has come before - learn how to use it and its latest features Integrate CSS3 media queries into your designs to use different styles for different media. You'll also learn about future media queries which are evolving in CSS4. Responsive images allow different images to be presented in different scenarios. We'll cover how to load different sets of images depending upon screen size or resolution and how to display different images in different contexts. Conquer forms! Add validation and useful interface elements like date pickers and range sliders with HTML5 markup alone. Implement SVGs into your responsive designs to provide resolution independent images, and learn how to adapt and animate them Learn how to use the latest features of CSS including custom fonts, nth-child selectors (and some CSS4 selectors), CSS custom properties (variables), and CSS calc In Detail Desktop-only websites just aren't good enough anymore. With mobile internet usage still rising, and tablets changing internet consumption habits, you need to know how to build websites that will just 'work', regardless of the devices used to access them. This second edition of Responsive Web Design with HTML5 and CSS3 explains all the key approaches necessary to create and maintain a modern responsive design. The changing way in which we access the web means ...
Emner
Sjanger
Dewey
ISBN
1-78439-826-8

Bibliotek som har denne