add missing hyphen in pseudo-element
This commit is contained in:
4
dist/6f87738ba5ca74ac9104fc97c6eee446.html
vendored
4
dist/6f87738ba5ca74ac9104fc97c6eee446.html
vendored
@ -87,8 +87,8 @@
|
|||||||
</style>
|
</style>
|
||||||
<h4 data-type="Explanation">Explanation</h4>
|
<h4 data-type="Explanation">Explanation</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<li><code>.clearfix::after</code> defines a pseudo element.</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>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>
|
<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>
|
</ol>
|
||||||
<h4 data-type="Browser support">Browser support</h4>
|
<h4 data-type="Browser support">Browser support</h4>
|
||||||
|
|||||||
@ -87,8 +87,8 @@
|
|||||||
</style>
|
</style>
|
||||||
<h4 data-type="Explanation">Explanation</h4>
|
<h4 data-type="Explanation">Explanation</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<li><code>.clearfix::after</code> defines a pseudo element.</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>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>
|
<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>
|
</ol>
|
||||||
<h4 data-type="Browser support">Browser support</h4>
|
<h4 data-type="Browser support">Browser support</h4>
|
||||||
|
|||||||
@ -52,8 +52,8 @@ Ensures that an element self-clears its children.
|
|||||||
|
|
||||||
#### Explanation
|
#### Explanation
|
||||||
|
|
||||||
1. `.clearfix::after` defines a pseudo element.
|
1. `.clearfix::after` defines a pseudo-element.
|
||||||
2. `content: ''` allows the pseudo element to affect layout.
|
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
|
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.
|
to earlier floated elements within the same block formatting context.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user