- From: 張俊芝 via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Nov 2024 12:01:01 +0000
- To: public-css-archive@w3.org
Zhang-Junzhi has just created a new issue for https://github.com/w3c/csswg-drafts:
== viewport segment pseudo element ==
It's very useful when we want to place some positioned elements associated with a specific viewport segment.
```
@media (horizontal-viewport-segments: 1) {
html {
anchor-name: --viewport-0-0;
}
}
@media (horizontal-viewport-segments: 2) {
::viewport(0, 0) {
anchor-name: --viewport-0-0;
}
}
.taskbar {
top: 10px;
justify-self: anchor-center;
}
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11131 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 1 November 2024 12:01:02 UTC