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> </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>

View File

@ -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>

View File

@ -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.