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

@ -87,8 +87,8 @@
</style>
<h4 data-type="Explanation">Explanation</h4>
<ol>
<li><code>.clearfix::after</code> defines a pseudo element.</li>
<li><code>content: ''</code> allows the pseudo element to affect layout.</li>
<li><code>.clearfix::after</code> defines a pseudo-element.</li>
<li><code>content: ''</code> allows the pseudo-element to affect layout.</li>
<li><code>clear: both</code> indicates that the left, right or both sides of the element cannot be adjacent to earlier floated elements within the same block formatting context.</li>
</ol>
<h4 data-type="Browser support">Browser support</h4>

View File

@ -87,8 +87,8 @@
</style>
<h4 data-type="Explanation">Explanation</h4>
<ol>
<li><code>.clearfix::after</code> defines a pseudo element.</li>
<li><code>content: ''</code> allows the pseudo element to affect layout.</li>
<li><code>.clearfix::after</code> defines a pseudo-element.</li>
<li><code>content: ''</code> allows the pseudo-element to affect layout.</li>
<li><code>clear: both</code> indicates that the left, right or both sides of the element cannot be adjacent to earlier floated elements within the same block formatting context.</li>
</ol>
<h4 data-type="Browser support">Browser support</h4>

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.