How to put special characters with :: after?

4

Here is the code, I want to put the character ©:

h1::after{
	content: ©
}
    
asked by anonymous 11.07.2017 / 16:22

1 answer

5

You need to use unicode character of CSS, eg:

h1::after{
  content:"
<h1>
Empresa
</h1>
a9"; font-size: 14px; position: relative; top: -10px; left: -5px; }
h1::after{
  content:"
<h1>
Empresa
</h1>
a9"; font-size: 14px; position: relative; top: -10px; left: -5px; }

List of special characters

    
11.07.2017 / 16:28