Re: [csswg-drafts] [css-images] @image rule for manipulating images (#6807)

ran across a situation on walmart.com where I think `@image` might help:

![image](https://user-images.githubusercontent.com/1286791/173082099-a977e285-a7e4-4431-a7da-63d53adee037.png)

```css
.category-link{
  background-image: image(--foo);
  background-repeat: no-repeat;
  background-position: center center;
}

@image --foo {
  width: 90%;
  aspect-ratio: 1;
  background-color: #e2edfb;
  border-radius: 50%;
}
```

-- 
GitHub Notification of comment by jsnkuhn
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6807#issuecomment-1152404401 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 10 June 2022 14:10:44 UTC