From 36d1a7d36904f41a55096faab0a5cc32c8be1308 Mon Sep 17 00:00:00 2001 From: Amaka Mbah <33701419+cybersassy@users.noreply.github.com> Date: Mon, 25 Feb 2019 03:19:09 +0100 Subject: [PATCH] Fix typo on line 6. Add info on line 6 & 7 (#31531) --- guide/english/css/before-selector/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guide/english/css/before-selector/index.md b/guide/english/css/before-selector/index.md index fab39cc730..4076f4588f 100644 --- a/guide/english/css/before-selector/index.md +++ b/guide/english/css/before-selector/index.md @@ -3,7 +3,8 @@ title: Before Selector --- ## Before Selector -The CSS **::before** selector can be used to insert anything before the content of an element or elements. It allows the designer to perform any css design before the content in an element. It is used by attaching **::before** to an the element it is to be used on. It is often used to add cosmetic content to an element with the content property. It is inline by default. +The CSS **::before** selector can be used to insert anything before the content of an element or elements. In CSS, it is called a psuedoelement. It allows the designer perform any css design before the content in an element. It is used by attaching **::before** to the element it is to be used on. +Also, it doesn't work without the **content** property. Let's look at some examples: