- From: Johnson John Boluwatife via GitHub <sysbot+gh@w3.org>
- Date: Sun, 12 Jun 2022 02:40:04 +0000
- To: public-css-archive@w3.org
> ran across a situation on walmart.com where I think `@image` might help:
>
> 
>
> ```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%;
> }
> ```
Doesn't the `width` here causes a conflict with `background-size` property? Having two different widths might just leave room for buggy implementation.
--
GitHub Notification of comment by booluw
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6807#issuecomment-1153051656 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 12 June 2022 02:40:05 UTC