1 parent
9999775e44
commit
f5bbda1f14
1 file changed
+2
-2
@@ -61,7 +61,7 @@ Our ToC uses the following HTML structure:
|
|||||||
</aside>
|
</aside>
|
||||||
```
|
```
|
||||||
|
|
||||||
We can ignore the `<aside>`, `<details>`, and `<nav>` components - we're going to focus on the `<ol>`s and `<li>`s.
|
We can ignore the `<aside>`, `<details>`, `<summary>`, and `<nav>` components - we're going to focus on the `<ol>`s and `<li>`s.
|
||||||
|
|
||||||
## CSS
|
## CSS
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ Those are super off. First, they're tabbed too far in to the left; second, there
|
|||||||
|
|
||||||
### `li::before`
|
### `li::before`
|
||||||
|
|
||||||
We're going to use a character from the `tree` output and place it before our list items.
|
We're going to use a character (technically two) from the `tree` output and place it before our list items.
|
||||||
|
|
||||||
```css
|
```css
|
||||||
#toc li::before {
|
#toc li::before {
|
||||||
|
|||||||
Reference in new issue
Block a user