Skip to content

Posting want #717

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

Merged
merged 1 commit into from
Mar 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions wants/698d08c0c88b4d8192a605bf1bedcfd8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: I want elements with the CSS "resize" property to have a ::handle pseudo element
date: 2021-08-02
submitter: Kilian Valkhof
number: 698d08c0c88b4d8192a605bf1bedcfd8
tags: [ css, forms, inputs ]
discussion: https://github.com/WebWeWant/webwewant.fyi/discussions/716
---

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 pseudo-element to achieve this makes sense to me. I ran into this when writing [this article](https://polypane.app/blog/faking-container-queries-with-css-grid/), where I would really prefer to have a differently styled handle for the resizable examples.
Loading