- From: Rantetsu Inori via GitHub <noreply@w3.org>
- Date: Sun, 12 Oct 2025 09:27:26 +0000
- To: public-css-archive@w3.org
otomad has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-pseudo][css-writing-modes] Should we have `:writing-mode()` pseudo selector? ==
It is useful to have a `:writing-mode()` selector to style vertical controls, just like `:dir()` pseudo selector.
Example:
```css
div {
translate: 20px;
&:dir(rtl) {
translate: -20px;
}
&:writing-mode(vertical-rl),
&:writing-mode(vertical-lr) {
translate: 0 20px;
}
}
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12939 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 12 October 2025 09:27:27 UTC