IT2805/a.txt

11 lines
439 B
Plaintext
Raw Normal View History

2020-09-14 11:27:57 +02:00
1. The difference between `position: absolute;` and `position: fixed;` is that the absolute element is fixed onto the page itself, but the fixed element is fixed onto the "screen" or web browser so to say. If you scroll down, the fixed element won't move, but the absolute value will follow the page as any other unstyled element.
2.
```CSS
element > anotherElement:nth-of-type(3n) {
...
}
```
[//]: # vim: set syntax=markdown: