4
Here’s the code, I want to put the character :
h1::after{
content: ©
}
4
Here’s the code, I want to put the character :
h1::after{
content: ©
}
5
You need to use CSS Unicode character, example:
h1::after{
content:"\00a9";
font-size: 14px;
position: relative;
top: -10px;
left: -5px;
}
<h1>
Empresa
</h1>
You know how to leave this character overwritten (in HTML the <sup tag is used>)???
@nelson450 see my edition.
that’s not what I meant, I wanted her to have the effect of something like "x squared"
@nelson450 see edition now.
@nelson450 Very good, but you can also simply change the position and everything below for: vertical-align: super;
@Leonfreire yes, also works :)
Browser other questions tagged css
You are not signed in. Login or sign up in order to post.
Related: How to use escape character in CSS?
– Marcelo de Andrade
Related: How to put » and « in :before?
– Marcelo de Andrade
Possible duplicate of What does content:" f0ed mean"? and How to put » and « in :before?
– Guilherme Nascimento