Designing for Dual Screen and Foldable Devices with CSS (2023)

Source: Hacker News ↗

Designing for Dual Screen and Foldable Devices with CSS (2023)

Revisiting the CSS media queries and environment variables for foldable devices. With the announcement of Google's Pixel Fold , I thought its an apt time to revisit what technologies are available for designing and developing experiences that adapt to a foldable device.

There are two media queries for targeting your foldable device. @media { } @media { } The horizontal-viewport-segments query targets the device when it is being held like a book and the two screens are side-by-side. There are a number of foldable devices already and they all have different screen and hinge dimensions.

Sources cited: 📰 Hacker News ↗

⚡ Effects Interpreter

🌍World Economylow impact

What this means for you

  • ▶A story like this rarely stays local for long in a connected economy.
  • ▶Markets around the world might take their cue from how this story unfolds.

🏙️Local Economylow impact

What this means for you

  • ▶Jobs and trade close to home might feel a soft knock-on effect.
  • ▶Local wages and hours worked may bend slightly with the wider trend.

🏦Rates & Bankslow impact

What this means for you

  • ▶Your bank is unlikely to act on this alone, but it will be watching.
  • ▶Central banks watch moments like this closely, so keep an eye on savings rates.

❤️Healthlow impact

What this means for you

  • ▶Community wellbeing might dip a little while people wait for clarity.
  • ▶Being kind to yourself matters just as much as staying informed.

💷Wealthmedium impact

What this means for you

  • ▶Keeping perspective on your timeline usually beats reacting to any single story.
  • ▶Savers with a clear plan tend to feel less rattled by a story like this.

🏠Housinglow impact

What this means for you

  • ▶The housing market has a habit of lagging behind the headlines.
  • ▶Surveyors and valuers tend to factor in wider trends gradually, not overnight.

🌍 Effects for your country

The U.S.'s central bank rate currently stands at 3.75%, so a global rates move like this could feed through to local borrowing costs. The U.S.'s economy is growing at 2.3% with inflation at 3.6%, the backdrop this story's effects play out against locally. Housing-market effects like this are usually felt most where mortgage rates track the U.S.'s own central bank rate closely. With the U.S.'s unemployment at 4.2%, personal-finance effects like this land on a labour market that is currently fairly stable. Health-system effects are harder to localise from economic indicators alone — the real impact in the U.S. depends more on local healthcare capacity than the figures above.

Share: 𝕏 Twitter Facebook LinkedIn WhatsApp

Editorial note: This analysis was produced by the News Effects Interpreter, an AI editorial tool that cross-references 1 independent news sources and contextualises events in terms of their real-world impact on ordinary people. Original reporting is linked above. News Effects does not alter the facts of source reports.