Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Convert ASCII/Octal/Unicode for CSS ‘content’?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #42052
    Taufik Nurrohman
    Participant

    This snippets: https://css-tricks.com/snippets/css/common-unicode-icons/

    How can/with what I can convert HTML entities to unicode for CSS `content` value? I often also see that I could attach the symbols anyway just like this:

    .foo:before {
    content: "♥";
    }

    But how is the correct procedure? Thanks for the answer.

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.