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

# 为字幕添加背景框

> 让字幕在复杂背景上更易阅读

背景框位于歌词后方，即使在明亮或画面繁杂的视频背景上，也能保持清晰可读。

## 添加背景框的步骤

<Steps>
  <Step title="Open the project">
    打开你想要编辑的卡拉 OK 项目。
  </Step>

  <Step title="Open Subtitle Settings">
    前往 **Style > Subtitle Settings**。
  </Step>

  <Step title="Enable the background box">
    打开 **Background Box** 开关。
  </Step>

  <Step title="Customize the look">
    调整颜色、不透明度和内边距，使其与项目风格一致。
  </Step>
</Steps>

## 背景框设置

* **Color** — 背景框的填充颜色（默认黑色）
* **Opacity** — 透明度从 0%（不可见）到 100%（不透明）
* **Padding** — 文本与背景框边缘之间的间距

## 可读性建议

* 60–80% 的不透明度能带来现代的半透明效果
* 8–12px 的内边距能让文字更舒展、不拥挤
* 将背景框颜色与视频的配色方案匹配，以获得更统一的观感
