`:buffering` CSS pseudo-class
The :buffering CSS pseudo-class selector represents an element that is playable, such as audio or video, when the playable element is buffering a media resource.
The **`:buffering`** [CSS](/docs/Web/CSS) [pseudo-class](/docs/Web/CSS/Reference/Selectors/Pseudo-classes) selector represents an element that is playable, such as audio or video, when the playable element is buffering a media resource.
An element is considered as buffering when that element cannot continue playing because it is trying to load media data but does not yet have enough data to begin or continue playback.
For more information, see the [Media buffering, seeking, and time ranges](/docs/Web/Media/Guides/Audio_and_video_delivery/buffering_seeking_time_ranges#seekable) guide.
> [!NOTE]
> An element is still considered to be :playing when it is "buffering".
> If `:buffering` matches an element, `:playing` will also match that element.
## Syntax
```css
:buffering {
/* ... */
}
```
## Examples
### CSS
```css
:buffering {
outline: 5px solid red;
}
video:buffering {
outline: 5px solid blue;
}
```
## Specifications
## Browser compatibility
## See also
- :muted
- :paused
- :playing
- :seeking
- :stalled
- :volume-locked
- [CSS selectors](/docs/Web/CSS/Guides/Selectors)
Cite this
"`:buffering` CSS pseudo-class". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:buffering JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy