> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperframes-zh.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 小插图

> 使用纯 CSS 渐变的电影径向晕影叠加 — 使边缘变暗以将焦点拉向中心

# 小插图

使用纯 CSS 渐变的电影径向晕影叠加 — 使边缘变暗以将焦点拉向中心

`vignette` `overlay` `cinematic` `effect`

<video className="w-full aspect-video rounded-xl object-cover bg-zinc-100 dark:bg-zinc-800" src="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/vignette.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/vignette.png" autoPlay muted loop playsInline />

## 安装

<CodeGroup>
  ```bash Terminal theme={null}
  npx hyperframes add vignette
  ```
</CodeGroup>

## 细节

| 财产 | 价值 |
| -- | -- |
| 类型 | 成分 |

## 文件

| 文件              | 目标                                      | 类型             |
| --------------- | --------------------------------------- | -------------- |
| `vignette.html` | `compositions/components/vignette.html` | HyperFrames：片段 |

## 用法

打开 `compositions/components/vignette.html` 并将其内容粘贴到您的作品中。有关详细说明，请参阅文件中的注释标题。
