# Fixed positioning

Pins an element to the window so it stays put while scrolling.

## What is `position: fixed`?

**Fixed** positioning pins an element to the browser window, so it stays put while the page scrolls.

```css
.chat-button { position: fixed; bottom: 20px; right: 20px; }
```

Level: Apprentice · [More CSS terms at this level](https://www.ask-codey.com/glossary/subjects/css/apprentice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/fixed-positioning
