> For the complete documentation index, see [llms.txt](https://docs.caf.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.caf.io/caf-sdk/caf-sdk-pt-br/web-javascript/getting-started/faceliveness-deprecated/customization.md).

# Personalização

Usando classes CSS, é possível personalizar a etapa de captura dos SDKs Web.

Nesta página, você encontrará a documentação sobre a nomenclatura dessas classes, bem como alguns exemplos de personalização.

## Classes e componentes <a href="#id-1hu9bqx2asy3" id="id-1hu9bqx2asy3"></a>

![](/files/541ba881db2a7e158769ecae5667393ffb59d7ca)

### **1. Título da captura**

Nome da classe: **`caf-sdk-video-title`**

### **2. Botão de alternar câmera** <a href="#x7ndy80au" id="x7ndy80au"></a>

Nome da classe: **`caf-sdk-video-switch-camera-button`**

### **3. Máscara de captura** <a href="#xxfnuxrizljr" id="xxfnuxrizljr"></a>

Nome da classe: **`caf-sdk-video-`mask**

### **4. Botão de captura (somente captura manual)** <a href="#id-3zmhclz8ix8j" id="id-3zmhclz8ix8j"></a>

Nome da classe: **`caf-sdk-button-take-picture`**

![](/files/278c6d0ad0f499311c0d2e21f9c0d4db94a4a9f3)

### **5. Indicador de progresso** <a href="#id-51mg2yeab6d3" id="id-51mg2yeab6d3"></a>

Nome da classe: **`caf-sdk-spinner-container`**

Classes filhas: **`caf-sdk-spinner-icon`**, **`caf-sdk-spinner-circle`**

### **6. Mensagem** <a href="#id-6inklz14wnmu" id="id-6inklz14wnmu"></a>

Nome da classe: **`caf-sdk-video-message-container`**

Classe filha: **`caf-sdk-video-message-text`**

Classes relacionadas: **`caf-sdk-message-success`**, **`caf-sdk-message-info`**, **`caf-sdk-message-warning`**, **`caf-sdk-message-error`**

![](/files/9aec5c90f38588ed7453961aeab7e016f4b4006a)

### **7. Ação** <a href="#id-8spfdg53e906" id="id-8spfdg53e906"></a>

Nome da classe: **`caf-sdk-video-action-container`**

Classes filhas: **`caf-sdk-video-action-text`**

Classes relacionadas: **`caf-sdk-message-success`**, **`caf-sdk-message-info`**, **`caf-sdk-message-warning`**, **`caf-sdk-message-error`**

## **Exemplos** <a href="#id-4wcairwk2hac" id="id-4wcairwk2hac"></a>

### **Layout original** <a href="#jaljjtfz3ny3" id="jaljjtfz3ny3"></a>

![](/files/975740afb437a4d581b7f1c85a640616ec0d9b1b)

### Exemplo 1 <a href="#hvvkr8hzs7g7" id="hvvkr8hzs7g7"></a>

![](/files/568accfc26e4b518fb755ef824fdfe48071959ed)

<pre class="language-css"><code class="lang-css">.caf-sdk-video-action-container {
<strong>    border-radius: 5px;
</strong>    background-color: white;
    border: 1px solid gray;
    padding: 10px;
    width: 95%;
    min-height: 75px;
    
    justify-content: center;
    align-items: center;
    display: none;
}

.caf-sdk-video-action-text {
    color: black !important;
    font-weight: 500 !important;
    
    position: relative;
}

.caf-sdk-video-action-text.caf-sdk-message-warning::before {
    position: absolute;
    display: block;
    
    content: '';
    background: url('https://cdn3.iconfinder.com/data/icons/interface-fat-line-vol-2/16/face-recognistion-focus-center-512.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    left: -30px;
    top: 5px;
    height: 30px;
    width: 30px;
    z-index: 100;
}
</code></pre>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.caf.io/caf-sdk/caf-sdk-pt-br/web-javascript/getting-started/faceliveness-deprecated/customization.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
