Letting us measure the ‘viewport’
that our page is rendered in –
and them adjust our designs based on that.
That’s pretty great,
until we start adjusting our designs
in more complexways.
So right away developers were asking
to measure (or query)
not just the viewport,
but other elements on thepage.
2011-2022Selector Queries Element Queries Container Queries
There have been multiple approaches to this
over the years,
using a variety ofnames…
And it became one of the
most requested features inCSS.
The browsers heard us asking,
and all responded inunison!
NO.
–
The Browsers
Not Ever.
–
The Browsers
Stop Asking.
–
The Browsers
Container queries will never be possible on the web. They would cause infinite layoutloops.
–
The Browsers
But that was thepast!
And we live in the future!
Sorry, not thisfuture.
We get a global rise in authoritarianism.
Sorry, I used to have a joke there
about flying cars and spicy auto complete,
but… I don’tknow.
I’m feeling sad about our industry obsession
with fancy new technology,
without seriously considering
how our algorithms will be used
by corporations or governments
to do large-scaleharm.
What direction are we taking the web?
Is it a direction that helps real people,
or only the bottomline?
The fact we can control a paper page
is really a limitation of thatmedium.
–
John Allsopp, 2000
We’re not alonehere
We’re part of anecosystem
Our decisions impact otherpeople
And on the web, we don’t get finalsay
We’re collaborating withbrowsers
Also the people who interact with oursites
(super cute in their handy toolbelts)
On their chosendevices
(with varying capabilities)
And we’re also collaboratingwith…
aliens 👽
Maybe, who knows?
Web Designs
Need to Adapt…
@mediamin-width
@mediaprefers-reduced-motion
@mediahover
@supportscontainer-type: inline-size
Graphic design of unknown content with unknown collaborators, on an infinite and unknowable canvas, across operating systems, interfaces, languages, and writing modes…