Fix typo on line 6. Add info on line 6 & 7 (#31531)
This commit is contained in:
committed by
Christopher McCormack
parent
145a94f192
commit
36d1a7d369
@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user