add missing hyphen in pseudo-element
This commit is contained in:
@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user