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
ChooKing
ChooKingโ€ข2mo ago
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โ€ข2mo 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
More Posts