@viewport is deprecated for some reason. Then how about turning to json file? Like this:
<link rel="viewport" href="viewport.json" />
and viewport.json like this:
{
"min-width": "120px",
"min-height": "100px"
....
}
@viewport is deprecated for some reason. Then how about turning to json file? Like this:
<link rel="viewport" href="viewport.json" />
and viewport.json like this:
{
"min-width": "120px",
"min-height": "100px"
....
}
What’s the use case for this?
Note that this will add an extra RTT for the viewport discovery so likely to have an adverse effect (from a performance perspective) on the fetching of viewport-dependent resources (e.g. images).
also, as this is all about layout/presentation, it really feels like that should be the domain of CSS (if not @viewport
then maybe something else…but @yoavweiss is right, this needs a solid use case first)