Example code:
string
I want to change the color on the last letter, in this case \"g\", but I need soluti
Use ::after pseudo-element combined with attr() function:
::after
p::after { content: attr(data-end) ; color: red ; } Strin
Strin
p::after { content: attr(data-end) ; color: red ; }