21 lines
637 B
Markdown
21 lines
637 B
Markdown
---
|
|
title: Position Property
|
|
---
|
|
## Position Property
|
|
|
|
The position property specifies the type of positioning method used for an element. It has five keyword values:
|
|
|
|
```css
|
|
.static { position: static; }
|
|
.relative { position: relative; }
|
|
.sticky { position: sticky; }
|
|
.fixed { position: fixed; }
|
|
.absolute { position: absolute; }
|
|
```
|
|
|
|
#### More Information:
|
|
|
|
Docs: <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/position' target='_blank' rel='nofollow'>MDN</a>
|
|
|
|
Browser Support: <a href='http://caniuse.com/#search=position' target='_blank' rel='nofollow'>caniuse</a>
|