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

> I think `padding` could be useful, for adding transparent spacing around the main image. Maybe `border` too?

> what would the difference be between `padding`, `margin` and `clip-path: inset();` here?

Right, I took `margin` from your initial proposal for that, @LeaVerou. `clip-path: inset();` is different because it clips the image. I imagine `margin` to add extra transparent space around the image. It might be replaced by `padding` so that the background shines through if set (which would also be transparent by default but can be changed via the `background-color` property [and other background-* properties if we decide to add them, too]).

Sebastian

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


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

Received on Wednesday, 24 August 2022 09:27:43 UTC