W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-selectors] Selectors for “text-ish” and “button-ish” inputs

From: Tommy Hodgins via GitHub <sysbot+gh@w3.org>
Date: Fri, 09 Feb 2018 22:09:04 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-364583576-1518214143-sysbot+gh@w3.org>
I would also love something like this, I used EQCSS to make this a while ago: [`[type=textist], [type=buttonish], [type=togglable]`](https://codepen.io/tomhodgins/pen/KgwVOR) where I categorized it as:

- Textist: text, search, tel, url, email, password, date, month, week, time, datetime-local, number, color, textarea
- Togglable: checkbox, radio
- Buttonish: submit, reset, button, `<button>`

And I left `<select>` out of it. If I want to style `<select>` similar to my `[type=textish]` I wouldn't mind using a selector list like `select, [type=textish]` to write a rule applying to both (if it was supported).

-- 
GitHub Notification of comment by tomhodgins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2296#issuecomment-364583576 using your GitHub account
Received on Friday, 9 February 2018 22:09:21 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC