From c09dabc9d5399a0517fe65e017cc83e7722c66af Mon Sep 17 00:00:00 2001 From: ohansemmanuel Date: Tue, 27 Feb 2018 02:19:17 +0100 Subject: [PATCH] add missing hyphen in pseudo-element --- dist/6f87738ba5ca74ac9104fc97c6eee446.html | 4 ++-- index.html | 4 ++-- snippets/clearfix.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/6f87738ba5ca74ac9104fc97c6eee446.html b/dist/6f87738ba5ca74ac9104fc97c6eee446.html index c01759261..24ffa0db7 100644 --- a/dist/6f87738ba5ca74ac9104fc97c6eee446.html +++ b/dist/6f87738ba5ca74ac9104fc97c6eee446.html @@ -87,8 +87,8 @@

Explanation

    -
  1. .clearfix::after defines a pseudo element.
  2. -
  3. content: '' allows the pseudo element to affect layout.
  4. +
  5. .clearfix::after defines a pseudo-element.
  6. +
  7. content: '' allows the pseudo-element to affect layout.
  8. 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.

Browser support

diff --git a/index.html b/index.html index 5bb02998a..83657bb85 100644 --- a/index.html +++ b/index.html @@ -87,8 +87,8 @@

Explanation

    -
  1. .clearfix::after defines a pseudo element.
  2. -
  3. content: '' allows the pseudo element to affect layout.
  4. +
  5. .clearfix::after defines a pseudo-element.
  6. +
  7. content: '' allows the pseudo-element to affect layout.
  8. 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.

Browser support

diff --git a/snippets/clearfix.md b/snippets/clearfix.md index a4edfc105..e1fe64e6a 100644 --- a/snippets/clearfix.md +++ b/snippets/clearfix.md @@ -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.