O
O
Outsider V.2017-11-22 22:50:34
css
Outsider V., 2017-11-22 22:50:34

Why icons are not displayed correctly?

For dropdown menu items, the CSS says:

&:after {
      content: '▼';
      ...

It seems to work as it should.
5a15d48fe25c4908935483.png
But sometimes, when surfing through the pages of the site through WebKit, browsers come up with such nonsense:
5a15d4a48076c123116042.png
What is it and how to deal with it?
This problem is everywhere where I use special characters in content.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zoozag, 2017-11-23
@Audiophile

I asked a similar question , there is an answer
Try to insert characters in unicode through a backslash: unicode table
In your case
content: '\00BB';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question