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

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

Frain, Ben, author

eBook, Electronic resource, Book. English. Electronic books.
Second edition.
Published Birmingham, UK : Packt Publishing 2015
Rate this

This resource is available electronically from the following locations

Details

Statement of responsibility: Ben Frain
ISBN: 1784398268, 1784398934, 9781784398262, 9781784398934
Note: Includes index.
Note: Online resource; title from cover page (Safari, viewed September 28, 2015).
Physical Description: 1 online resource (1 volume) : illustrations.
Series: Community experience distilled
Subject: HTML (Document markup language) -- Handbooks, manuals, etc.; Cascading style sheets.; HTML (Document markup language); Web site development -- Computer programs -- Handbooks, manuals, etc.; Web sites -- Design -- Handbooks, manuals, etc.; Web sites Design.; COMPUTERS General.; Cascading style sheets -- Handbooks, manuals, etc.
Alternative Title: Build responsive and future-proof websites to meet the demands of modern web users
Series Title: Community experience distilled.
Local note: eBooks on EBSCOhost EBSCO eBooks for FE Collection (UK)

Contents

  1. 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
  2. Supporting Differing Viewports.
  3. Why media queries are needed for a responsive web designBasic conditional logic in CSS
  4. Media query syntax
  5. Media queries in link tags
  6. Combining media queries
  7. Media queries with @import
  8. Media queries in CSS
  9. What can media queries test for?
  10. Using media queries to alter a design
  11. Any CSS can be wrapped in a media query
  12. Media queries for HiDPI devices
  13. Considerations for organizing and authoring media queries
  14. Linking to different CSS files with media queries
  15. The practicalities of separating media queries
  16. Nesting media queries 'inline'
  17. Combine media queries or write them where it suits?
  18. The viewport meta tagMedia Queries Level 4
  19. Scripting media feature
  20. Interaction media features
  21. The hover media feature
  22. Environment media features
  23. Summary
  24. Chapter 3: Fluid Layouts and Responsive Images
  25. Converting a fixed pixel design to a fluid proportional layout
  26. Why do we need Flexbox?
  27. Inline block and whitespace
  28. Floats
  29. Table and table-cell
  30. Introducing Flexbox
  31. The bumpy path to Flexbox
  32. Browser support for Flexbox
  33. Leave prefixing to someone else
  34. Getting flexy
  35. Perfect vertically centered text
  36. Offset items
  37. Reverse the order of items.
  38. How about if we want them laid out vertically instead?Column reverse
  39. Different Flexbox layouts inside different media queries
  40. Inline-flex
  41. Flexbox alignment properties
  42. The align-items property
  43. The align-self property
  44. Possible alignment values
  45. The justify-content property
  46. The flex property
  47. Simple sticky footer
  48. Changing source order
  49. Wrapping up Flexbox
  50. Responsive images
  51. The intrinsic problem of responsive images
  52. Simple resolution switching with srcset
  53. Advanced switching with srcset and sizes
  54. Did you say the browser 'might' pick one image over another?
  55. Art direction with the picture elementFacilitate new-fangled image formats; Summary; Chapter 4: HTML5 for Responsive Web Designs; HTML5 markup
  56. understood by all modern browsers; Starting an HTML5 page the right way; The doctype; The HTML tag and lang attribute; Specifying alternate languages; Character encoding; Easy-going HTML5; A sensible approach to HTML5 markup; All hail the mighty tag; New semantic elements in HTML5; The element; The element; The element; The element; The element; The and elements.