{
  "id": 6891522,
  "title": "Designing for Dual Screen and Foldable Devices With CSS",
  "url": "https://urgent.news/2026/09/12/designing-for-dual-screen-and-foldable-devices-with-css",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-12T08:33:24.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://blog.stephaniestimac.com/posts/2023/05/design-foldable-devices/"
  },
  "original_language": "en",
  "account": "Google's Pixel Fold has reignited discussions about designing for foldable devices. The announcement brought attention to two media queries that can be used to target foldable devices: horizontal-viewport-segments and vertical-viewport-segments. These queries determine how a device is being held, either side-by-side or stacked like a laptop.\n\nEnvironment variables are also available to help with the geometry of each display on dual screen devices. These variables provide the x and y positions that create a two-dimensional grid, with 0,0 starting at the top-left segment. This allows for automatic calculation of dimensions by the device, eliminating the need to create designs for every unique device.\n\nUsing CSS Grid, developers can create layouts that adapt to the device's configuration. For example, a recipe page can change to a two-column layout when on a dual screen device. The environment variables can be used as grid column or row values to place and position content across the two screens. This capability has been implemented in Microsoft Edge Stable, but not yet in Chrome Stable, which is a missed opportunity for Chrome users with the Pixel Fold.\n\nDespite some initial resistance from \"naysayers,\" there are growing numbers of foldable devices being shipped. The forecast for foldables shipped in 2023 is expected to exceed 21 million devices, representing a significant opportunity for designers and developers to create innovative experiences. Ultimately, it is up to businesses to decide whether the investment in dual screen layouts is worth it based on their target audience.",
  "summary": null,
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}