# Backdrop

A backdrop is a semi-transparent layer that lies between an modal or offcanvas and the rest of the page when using a modal or offcanvas. It serves to focus the modal or offcanvas elements and prevents users from interacting with the background of the page at the same time.

<figure><img src="/files/bitk8Z6lRQQF1xlrZImM" alt=""><figcaption></figcaption></figure>

When selecting the color for the **Background (1)**, make sure to select a partially transparent color using the color picker. The shop in the background of the element should only fade - not disappear completely.&#x20;

In addition, you can choose an optional **Accent color (2)**, which is mixed into the background color (1) using a color gradient.&#x20;

The shop in the background of the popup or offcanvas can be blurred using the value in the **Blur background (3)** field. This further increases the focus on the foreground element.

**Example:**

<figure><img src="/files/S2FpbxxhJvWh5VRfKPU7" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://themedocs.zenit.design/en/styling/components/backdrop.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
