X 归档 2022-08-14
Artist Greg Edwards uses Mental Canvas to push the boundaries of space and time, taking us on a graphic, immersive journey through the infinite, zooming space of his fantastical imagination [author's Instagram account: https://buff.ly/3xzayvT]
艺术家 Greg Edwards 用 Mental Canvas 推开时间与空间的边界,带我们踏上一段图像化的沉浸之旅,穿越他奇幻想象中无限缩放的空间 [作者的 Instagram 账号:]
JavaScript && CSS Tip! ✨
Use IntersectionObserver(IO) with a low threshold and custom properties to power list animations 🔥
http://el.style.setProperty('--shown', entry.isIntersecting ? 1 : 0)
li { scale: calc(0.25 + (var(--shown, 1) * 0.75));}
Demo link below! 👇 https://t.co/KC9Q3roJWM
Use IntersectionObserver(IO) with a low threshold and custom properties to power list animations 🔥
http://el.style.setProperty('--shown', entry.isIntersecting ? 1 : 0)
li { scale: calc(0.25 + (var(--shown, 1) * 0.75));}
Demo link below! 👇 https://t.co/KC9Q3roJWM
JavaScript && CSS 小技巧!✨
用低阈值的 IntersectionObserver(IO) 搭配自定义属性来驱动列表动画 🔥
.setProperty('--shown', entry.isIntersecting ? 1 : 0)
li { scale: calc(0.25 + (var(--shown, 1) * 0.75));}
演示链接在下面!👇 https://t.co/KC9Q3roJWM
用低阈值的 IntersectionObserver(IO) 搭配自定义属性来驱动列表动画 🔥
.setProperty('--shown', entry.isIntersecting ? 1 : 0)
li { scale: calc(0.25 + (var(--shown, 1) * 0.75));}
演示链接在下面!👇 https://t.co/KC9Q3roJWM
TIL: speed up your `ts-node` command with a simple `--swc` flag
https://typestrong.org/ts-node/docs/swc/
https://typestrong.org/ts-node/docs/swc/
TIL:加一个简单的 `--swc` 旗标就能加速你的 `ts-node` 命令





