- From: Ana Tudor via GitHub <sysbot+gh@w3.org>
- Date: Wed, 19 Jun 2024 06:30:27 +0000
- To: public-css-archive@w3.org
`round()` is what you need then.
```
width: calc(round(50vmin, #{$s}) - #{.5*$s});
aspect-ratio: 1;
border: solid 1.5*$s transparent;
background:
repeating-conic-gradient(
#000 0% 25%,
#0000 0% 50%) 0 0/ #{$s $s};
mask:
linear-gradient(red 0 0) exclude,
linear-gradient(red 0 0) padding-box
```
https://codepen.io/thebabydino/pen/yLWvKyK?editors=1100

--
GitHub Notification of comment by thebabydino
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9456#issuecomment-2177851770 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 19 June 2024 06:30:27 UTC