Multiple linear-gradient masks

Hey guys, I seem to be unable to add multiple linear gradients to a mask? Anyone who can tell me what I'm doing wrong.
No description
3 Replies
Chooβ™šπ•‚π•šπ•Ÿπ•˜
That works, but it might not do what you are intending. I'm not sure what you actually intend. This creates two overlapping gradients that cause the top left corner to be faded. If your goal is to have them repeat, you must set mask sizes. If your goal is to have solid stripes, you must specify both the start and end for the stops.
capt_uhu
capt_uhuβ€’8mo ago
https://codepen.io/jsnkuhn/pen/ZENYvYm possible that the masks are just not combining the way you expect them to? If so have a look at mask-composite https://developer.mozilla.org/en-US/docs/Web/CSS/mask-composite
πŸŒŸπŸ¦‹AmeliaπŸ’œπŸŒΈ
My intention is to have two separate linear gradients and the corner isnt that important, they can overlap there but i dont want the combination of the masks, i want both i tried adding
mask-composite: add;
mask-composite: add;
but it hasnt fixed it Ah, it should be intersect!, thanks for the codepen!
Want results from more Discord servers?
Add your server