Re: [csswg-drafts] Request for New CSS Property: 'mask-rotation' (#10024)

> But what I got is that the tag `image` in the mask-image makes the mask of the svg to not being applied even without using the `@image` rule.

That is because the `@image` rule and the new syntax for the `image()` function don't exist in browsers yet, nor are they specified. There is only a resolution to add them to the specifications, at the moment. So it will still take some time until that solution will work.

For now, you might get the result you're looking for by using two separate elements that overlay each other and work with `mix-blend-mode` rather than a mask. (I didn't try that out, though. Maybe someone else can come up with a better solution.)

Sebastian

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


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

Received on Saturday, 9 March 2024 18:45:24 UTC