Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Want: I want elements with the CSS "resize" property to have a ::handle pseudo element #286

Open
Kilian opened this issue Feb 8, 2021 · 1 comment
Assignees
Labels
CSS for-discussion want Incoming requests from the community

Comments

@Kilian
Copy link

Kilian commented Feb 8, 2021

My proposal:


title: I want elements with the CSS "resize" property to have a ::handle pseudo element
date: 2021-08-02
submitter: Kilian Valkhof

With the CSS property resize set to horizontal or vertical on elements with overflow:hidden, you get a little resize control in the bottom right of the element with which to resize it.

I think this should be a pseudo element just like ::marker for list items and summary elements. This would allow it to be styled in ways that make sense for the current element as well as the current direction of resize when it's limited to a single dimension.

::handle as a psuedo-element to achieve this makes sense to me. I ran into this when writing this article, where I would really prefer to have a differently styled handle for the resizable examples.

@Kilian Kilian added the want Incoming requests from the community label Feb 8, 2021
@gregwhitworth
Copy link
Contributor

Thanks for filing this, there is also an open issue for a similar request on Open UI here. We'd be more than happy to have your help with the necessary research to lead the way for possible standardization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS for-discussion want Incoming requests from the community
Projects
None yet
Development

No branches or pull requests

2 participants