Fix typos

This commit is contained in:
Isabelle Viktoria Maciohsek
2021-01-07 23:52:15 +02:00
parent 694d8758aa
commit 232bf3f0b5
4 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ Creates a content container with a triangle at the top.
- Use the `:before` and `:after` pseudo-elements to create two triangles.
- The colors of the two triangles should be the same as the container's `border-color` and the container's `background-color` respectively.
- The `border-width` of the one triangle (`:before`) should be `1px` wider than the other one (`:after`), in order to act as the border.
- The smalle triangle (`:after`) should be `1px` to the right of the larger triangle (`:before`) to allow for its left border to be shown.
- The smaller triangle (`:after`) should be `1px` to the right of the larger triangle (`:before`) to allow for its left border to be shown.
```html
<div class="container">Border with top triangle</div>