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

**URL:** https://meta.discourse.org/t/is-it-possible-to-add-before-username-in-css/53672
**Category:** UX
**Created:** [December 2, 2016, 7:34am UTC](https://meta.discourse.org/t/is-it-possible-to-add-before-username-in-css/53672 "2016-12-02T07:34:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Nam\_Nguyen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nam_nguyen/32/68634_2.png) [@Nam\_Nguyen](https://meta.discourse.org/u/Nam_Nguyen)
#### Post date: [December 2, 2016, 7:34am UTC](https://meta.discourse.org/t/is-it-possible-to-add-before-username-in-css/53672/1 "2016-12-02T07:34:20Z")

</div>

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

 ![](https://global.discourse-cdn.com/meta/original/3X/7/1/718e6d502488e0c4269364a4513487be4c01ea8d.PNG)

Thank you!

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [December 2, 2016, 11:08am UTC](https://meta.discourse.org/t/is-it-possible-to-add-before-username-in-css/53672/2 "2016-12-02T11:08:25Z")

</div>

Yes it is.

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

```

---

<div class="post-metadata">

### Author: ![Nam\_Nguyen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nam_nguyen/32/68634_2.png) [@Nam\_Nguyen](https://meta.discourse.org/u/Nam_Nguyen)
#### Post date: [December 2, 2016, 1:33pm UTC](https://meta.discourse.org/t/is-it-possible-to-add-before-username-in-css/53672/4 "2016-12-02T13:33:05Z")

</div>

Thanks @cpradio so much 😊

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

 ![](https://global.discourse-cdn.com/meta/original/3X/1/3/1343c16aa07fc3d571168996c67319bab50b4e8b.PNG)
