add missing hyphen in pseudo-element

This commit is contained in:
ohansemmanuel
2018-02-27 02:19:17 +01:00
parent 87959ebfa5
commit c09dabc9d5
3 changed files with 6 additions and 6 deletions

View File

@ -52,8 +52,8 @@ Ensures that an element self-clears its children.
#### Explanation
1. `.clearfix::after` defines a pseudo element.
2. `content: ''` allows the pseudo element to affect layout.
1. `.clearfix::after` defines a pseudo-element.
2. `content: ''` allows the pseudo-element to affect layout.
3. `clear: both` indicates that the left, right or both sides of the element cannot be adjacent
to earlier floated elements within the same block formatting context.