Skip to main content
added 10 characters in body
Source Link

I'd like to revive this post for those who might come across it by chance. Here is my solution:

.vecteur { position: relative; } .vecteur::before { content: "\2192"; position: absolute; top: -0.7em; left: -0.1em; font-size: 1.2em; }

a

.vecteur {
  position: relative;
}
.vecteur::before {
  content: "\2192";
  position: absolute;
  top: -0.7em;
  left: -0.1em;
  font-size: 1.2em;
}
</style>

<span class="vecteur">a</span>

I'd like to revive this post for those who might come across it by chance. Here is my solution:

.vecteur { position: relative; } .vecteur::before { content: "\2192"; position: absolute; top: -0.7em; left: -0.1em; font-size: 1.2em; }

a

I'd like to revive this post for those who might come across it by chance. Here is my solution:

.vecteur {
  position: relative;
}
.vecteur::before {
  content: "\2192";
  position: absolute;
  top: -0.7em;
  left: -0.1em;
  font-size: 1.2em;
}
</style>

<span class="vecteur">a</span>
Source Link

I'd like to revive this post for those who might come across it by chance. Here is my solution:

.vecteur { position: relative; } .vecteur::before { content: "\2192"; position: absolute; top: -0.7em; left: -0.1em; font-size: 1.2em; }

a