Skip to content

Add a new media query feature: client-width and client-height, which equal to (viewport size - scrollbar size) #2933

Closed
@Zhang-Junzhi

Description

@Zhang-Junzhi

Please consider adding two new media query features: client-width and client-height

which equal to the viewport size if there's no scrollbar;
or equal to (viewport size - scrollbar size) if there's a scrollbar.

client-width, client-height are very useful, they are even more useful than the existing width, height features.

Designers typically tend to care more about the available layout size than the size including a scrollbar

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions