I have got an element with ::after pseudo element and some text:
#someElement {
font-family: Arial;
font-size: 36px;
}
#someElement::after {
content: 'b';
position: absolute;
left: 0.5rem;
color: red;
}
<div>
<span id="someElement">a</span>
</div>
I want only the letter b to be visible. I tried to change display andposition, but it do not work. How can I do that without manipulate color property?