11 lines
439 B
Markdown
11 lines
439 B
Markdown
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: |