> 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](/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](/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 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.videsk.io/es-developers/componentes-web/webrtc/estilos-css.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.
