> For the complete documentation index, see [llms.txt](https://docs.videsk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videsk.io/es-developers/componentes-web/webrtc/estilos-css.md).

# Estilos (CSS)

A continuación, se describen propiedades CSS que pueden utilizarse para cambiar el estilo visual.

## `::part()`

Este operador permite aplicar estilos CSS a componentes de shadow root de nuestros componentes web.

### `chat`

Permite aplicar estilos CSS a todo el componente de chat. Internamente se utiliza el componente `videsk-chat`.

```css
videsk-webrtc::part(chat) {
  /* styles */
}
```

### `buttons`

Permite aplicar estilos CSS al contenedor de los botones de acciones (mic, cam, hangup, etc).

```css
videsk-webrtc::part(buttons) {
    /* styles */
}
```

Dentro de buttons se encuentran todos los botones por defecto descritos en [Slots](https://docs.videsk.io/es-developers/componentes-web/webrtc/slots.md), tienen exactamente los mismos nombres:

```css
videsk-webrtc::part(button-x) {
    /* styles */
}
```

| ::part(X)            |
| -------------------- |
| button-toggle-camera |
| button-screen        |
| button-chat          |
| button-mic           |
| button-hangup        |
| button-cam           |
| button-fullscreen    |

### `participants`

Permite aplicar estilos CSS al contenedor de los participantes.

{% hint style="info" %}
Si aplicas CSS a este componente, debes considerar que depende del [layout](https://docs.videsk.io/es-developers/componentes-web/webrtc/propiedades.md). Puedes sobrescribir el comportamiento, pero los estilos están definidos para adaptarse automáticamente.
{% endhint %}

```css
videsk-webrtc[grid]::part(participants) {
    /* styles */
}

videsk-webrtc[sidebar]::part(participants) {
    /* styles */
}
```

### `participants-toggle`

Permite aplicar estilos CSS al elemento que permite mostrar y ocultar a los participantes cuando el layout es `sidebar`.

```css
videsk-webrtc::part(participants-toggle) {
    /* styles */
}
```

### `container`

Permite aplicar estilos CSS al contenedor principal de todo `videsk-webrtc`.

{% hint style="info" %}
Debes tener precaución con los estilos que apliques, ya que por defecto nuestro componente usa CSS `grid` para posicionar componentes.
{% endhint %}

```css
videsk-webrtc::part(container) {
    /* styles */
}
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.videsk.io/es-developers/componentes-web/webrtc/estilos-css.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
