Skip to content

What Is Responsive Design, and How Does It Fit a Page to Every Screen?

Responsive design is the way a single web page automatically changes its layout, text size and images according to the screen width. This article explains the techniques that make it possible, alternative approaches, and how to test a site's compatibility.

Nurullah Okatan · Content Writer
· Updated: · 12 min read

What Is Responsive Design, and How Does It Fit a Page to Every Screen?

Responsive design is a design approach that automatically rebuilds the layout of a web page according to the screen width. The same address and the same content open readably on phones, tablets and desktops thanks to flexible grids, media queries and flexible images.

The three technical pillars of responsive design

A responsive page rests on three parts. The flexible grid carries the layout, media queries change the layout at breakpoints, and flexible images fit within their boxes. If any one of these is missing, the page overflows or becomes empty on some screens.

What is Responsive Design

Flexible grid

In a fixed-width layout, every column is measured in pixels. If the screen is narrower than that measurement, the page spills sideways and the user has to scroll horizontally. In a flexible grid, columns are defined as proportions. The main content area takes a certain share of the screen, and the side column takes the rest. As the screen narrows, both columns shrink by the same ratio and the layout does not break. CSS Grid and Flexbox are the tools that hand this proportional placement over to the browser.

Media query

Shrinking by proportion has a limit. On a very narrow screen, three columns side by side would each become too thin to read. The media query steps in at this point. When the screen width falls below a defined threshold, the browser applies additional rules. Columns are stacked vertically, font sizes and spacing are readjusted, and some elements are hidden or moved. The viewport tag at the top of the page also tells phones not to shrink the page but to use their real width.

Flexible images

An image's width is limited to the width of its container, and its height adjusts automatically to keep the proportions. This way a wide photo does not extend beyond its box on a narrow screen. One step further, the browser can be offered different sizes of the same image. A phone downloads the small file, while a large screen downloads the big one. Basic concepts of design are covered in our article on the fundamental parts of web design, which you can find here.

AI assistant for this topic

Türk Bilişim AI answers your questions instantly
Online
  1. Hi! Ask whatever you're curious about.

Responsive, adaptive and a separate mobile site: the differences

Three approaches are used to adapt to screens. Responsive design continuously stretches a single layout. Adaptive design chooses among ready-made templates. A separate mobile site builds a second site at a different address for phones.

In adaptive design, the server or the browser detects the device's screen width and loads the closest of a few pre-drawn fixed templates. On screen sizes in between, the page either leaves empty space or gets cramped.

A separate mobile subdomain doubles the maintenance burden. Content must be updated in two places, and over time the two versions drift apart. Redirect errors, shared links opening the wrong version, and the need to tell search engines clearly how the two addresses relate are further drawbacks.

ApproachHow it worksAddress structureSuitable when
ResponsiveOne layout that flows and rearranges itself at every widthSingle address, single contentNewly built corporate sites, e-commerce and content sites
AdaptiveA few fixed templates, one is loaded depending on the deviceUsually a single addressGradual move to mobile of a large, older site
Separate mobile siteA second site built specifically for phonesSeparate subdomainExceptional cases where mobile needs a completely different function

For implementation steps, see our guide on how responsive design is applied.

Looking for API Development & Integration?

On a phone, it is not enough for a page to fit; it must also be usable. The menu, tap targets and loading time are the three details that determine this usability.

Hamburger menu

The three-line menu button gathers many links behind a single icon on a narrow screen. On a corporate site it works well for secondary pages such as services, about and contact. The problem starts when the action visitors look for most is also hidden inside the menu. Hidden links get fewer clicks. That is why the main action (the quote form, the cart or search) should remain visible on screen, outside the menu.

Tap target

A mouse cursor points at a single spot, whereas a finger presses a broad area. A small text link that is easy to click on desktop gets confused with the link next to it on a phone. Buttons that are tapped must be wide enough for a fingertip, with enough spacing between them to prevent mis-taps. Since there is no hover effect on phones, submenus that open only on hover never open on a touch screen.

Elements that slow down the page

On mobile connections, the greatest load comes from uncompressed, oversized images. Autoplaying background videos create a similar burden. Many font files, scripts that delay page opening and third-party tracking codes also lengthen load times. Türk Bilişim, a leading mobile UI/UX design and prototyping firm in Turkey and a digital agency since 1998, measures and reduces these burdens as part of its Performance, Security & SEO service.

How does responsive design affect search visibility?

Responsive design directly affects search visibility, because Google looks at the mobile version of a site first when ranking it. Content that appears missing or broken on mobile enters evaluation at a disadvantage, even if it is flawless on desktop.

The reason for this approach is visitor behaviour. A large share of searches are opened from phones. Search engines also want to base their judgement on the version the user will actually see. Text hidden on mobile, menus that don't open, and links that disappear on a small screen therefore harm rankings.

A single address and a single content structure simplify crawling. The search engine's bot scans each page once. The duplicate content problem arising from the same content existing at two addresses does not occur. There is no need to set up redirects between mobile and desktop versions or manage tags linking the two addresses. Links from external sites are not split between two versions either; they are gathered at a single address.

Other topics where design and search intersect are covered in articles under the Web Design & Development category.

Test steps to check whether a site is responsive

Whether a site is responsive is tested first in a browser, then on a real phone. The two stages catch different problems.

  1. Open the page in a desktop browser and start the developer tools (in Chrome and Firefox, right-click the page and choose "Inspect").
  2. Open the device toolbar and select the ready-made phone and tablet profiles in turn.
  3. Slowly narrow the width by hand and note the point at which the layout breaks.
  4. Try the page in both landscape and portrait orientation separately.

Developer tools simulate screen size, but they cannot simulate finger use. On a real device, three things are checked. The first is horizontal scrolling: if the page slides sideways, some element is overflowing its box. The second is readability: text should be readable without zooming, and lines should not exceed the screen. The third is form fields: fields should be easy to select, the opened keyboard should not cover the submit button, and the email field should bring up the appropriate keyboard.

If the problems are limited to a few overflowing images or a cramped menu, a fix is sufficient. The situation changes if the site rests on an old fixed-width foundation. If every page has to be patched individually, a redesign takes less effort. For corporate website projects, Türk Bilişim makes this decision after examining the existing site's foundation. Maintenance and updates after launch are also carried out by the same team.

Looking for Mobile Commerce?

Frequently asked questions

Can an existing site be made responsive later?

Yes, it can be done by reworking the layout code. The scope of the work depends on the site's foundation. On a site using a modern theme, fixes are quick; on a site built with fixed tables, rebuilding from scratch may be the more sensible option.

Does a responsive site replace a mobile app?

For presentation, content, and most sales transactions, it does. If notifications, offline use, or deep access to device features such as the camera and location are needed, a mobile app is considered separately.

Which screen widths should the design be based on?

Rather than specific device models, the widths at which the content starts to break are used as the basis. Design usually starts with the narrowest phone, and tablet and wide desktop layouts are added afterward.

Does responsive design increase project cost?

It adds work to the design and testing stages. However, since a single site is maintained, it takes less effort than building a separate mobile site and updating two versions together.

Have a project?

Türk Bilişim · Free Quote

Get a free quote for your Android App Development project

Leave your number and we will get back to you right away. The call is free.

Read the privacy notice

Nurullah Okatan Content Writer

The editorial desk of a team delivering websites, e-commerce and software projects since 1998.

LinkedInInstagramFacebook

Share this article

Comments

Comments

No comments yet.

Write a comment

Your rating (optional)

Privacy notice

We will send a confirmation link to your email so that your comment can appear.

Regional Services

Looking for Web Design & Development in your city?

We also provide this service in your region. Related regional pages:

See all regional services

Türk Bilişim · Digital Transformation Advisor

Online
Hi! Tell us the project or idea on your mind and let’s begin together.
Ask anything, Türk Bilişim AI answers instantly.