项目
在 GitHub 查看
robinWongM/liquid-glass
关于
Faithful Liquid Glass w/ WebGPU and HTML-in-Canvas.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Liquid Glass
Faithful Liquid Glass w/ WebGPU and HTML-in-Canvas.
Experimental. APIs and visuals may change between 0.x releases.



npm install @robinwongm/liquid-glass
import {GlassRoot, Glass} from '@robinwongm/liquid-glass';
import '@robinwongm/liquid-glass/style.css';
<GlassRoot>
<img src="photo.jpg" />
<Glass>Hello</Glass>
</GlassRoot>
Known issues
- Chromium 157: an HTML-in-Canvas bug can leave parts of the page undrawn while scrolling. Fixed in 158.
- Every change redraws the whole
GlassRoot, so scrolling a large one is slow. Wrap the area that has glass, not the whole page.
Chromium 157+. Apache-2.0. Not affiliated with Apple.
探索相关项目
加载中…