Is it possible to add "@" before username in CSS?


(Nam Nguyen) #1

Hi,
I want to add “@” to before username, is it possible to add it in CSS or HTML customize.
Here is an example

Thank you!


(cpradio) #2

Yes it is.

.names span.username a::before { content: "@" }

(Nam Nguyen) #4

Thanks @cpradio so much :blush:

I learned from you,
I add @ for usercard too, and use it
.names span h2::before {content: “@”}