Sujoy Sujoy - 1 month ago 11
CSS Question

CSS first-letter formatting reducing gap between first and second character

I am using the following css :

p::first-letter {
font-size: 400%;
line-height: 0;
}


I want to reduce the gap between the first and the second character. For example in this website I want to reduce the space between 'T' and 'h' in the first word 'Thakur'.

Answer
p::first-letter {
    letter-spacing: -8px;
}