正在加载视频...
视频加载失败
CSS Trick! ⭐️ You can create this sparkly backdrop with a single element using mask-composite whilst animating the mask-position 😷 .canvas { background: var(--gradient); mask: var(--dots), var(--noise); mask-composite: intersect /* source-in, xor */; animation: flicker; } @keyframes flicker { to { mask-position: 50% 50% , 0 50%; } }... show more
10 条评论

jhey ▲🐻🎈2 年前
Here's that @CodePen link! 🚀 Can use this to mask out words and icons as well 🔥

jhey ▲🐻🎈2 年前
Here's John's post showing how he the same effect but using <canvas> 🤙

jhey ▲🐻🎈2 年前
Annnnnddd here's that Perlin Noise generator site ⚡️ Tinker with the values until you find something that works for you. Had to mess with the alpha and seed until I found something I liked 😁

Adam Rackis2 年前
C’mon bro crank that course / book out you’re killing us

Simon Vrachliotis2 年前
HOW does your brain think of this stuff 🤯

jhey ▲🐻🎈2 年前
It's weird in there 🙃

Dan ⚡️2 年前
this is not even from the future 👀 although it seems from the future

Viki ✨2 年前
Awesome trick 😎

jhey ▲🐻🎈2 年前
Thanks Viki! 🤙

Joshua2 年前
Your work has really been inspiring me lately.
