Many questions are asked about the differences between Responsive and Adaptive web design. These two terms are widely used in web programming. So, what is the main difference between them?
Responsive Design: Presupposes the use of one flexible layout or component for all devices (computer, tablet, smartphone).
As an example, let's take the header part of your site. If the header automatically adapts to all screen sizes, it means that it was created based on the principles of responsive design. The image below shows this more clearly:
As you can see in the picture, the header is written with one code and works smoothly on all devices.
Adaptive Design: Means creating separate layouts for each device. In the header example above, you can create separate headers for mobile, desktop and tablet and load the appropriate layout for each device. For example, a special mobile header.
for mobile devices onlyThe main differences are listed in the table.
Which design to choose?
Adaptive design is preferable in the following cases:
Responsive design is appropriate in the following cases:
Responsive design is preferred in most cases because it is flexible and easier to manage. However, adaptive design can be useful in some special cases.
The above is the detailed content of Difference between Adaptive and Responsive design. For more information, please follow other related articles on the PHP Chinese website!