Chapter 4. Responsive Websites – Prepare Your Code for Specific Devices

In this chapter, you will gain knowledge about responsive web design (RWD) and how to prepare projects. It will cover problems of modern websites and optimization techniques. This chapter will be the base of knowledge about media queries—how to prepare them and how to adjust specific devices.

In this chapter, we will cover the following topics:

  • RWD methodologies
  • Using media queries

The foundation of responsive websites

Almost all modern websites can be displayed on desktop and mobile devices (phones, tablets). Proper adjusting of CSS and HTML code is the main assumption for creating a responsive website. The basic responsive website building process was based on adjustments of ...

Get Professional CSS3 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.