0

I am new to the CSS. While reading CSS of a website it is writing as:

 .abc:before { content:"\9d005" }

I fully understood as:

  • .abc - is the class

  • :before - selector inserts something before the content of selected element

  • content - used with :before or :after to insert generated content

What to understand what is:

\9d005
Temani Afif
  • 245,468
  • 26
  • 309
  • 415
Vineet1982
  • 7,730
  • 4
  • 32
  • 67

1 Answers1

0

It called ASCII code (Unicode).

The general format for a Unicode character inside a string is \000000 to \FFFFFF – a backslash followed by six hexadecimal digits.

Here is a list of examples , and this conversion tool might be useful.

In CSS, these Unicodes can be only used in :before , :after and ::marker CSS pseudo-element.

Ahmed Tag Amer
  • 1,381
  • 1
  • 8
  • 21