Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

css font twitter like close button, what did I missing?

Tags:

css

fonts

twitter

twitter has it's close button which is a single character 'x'.

and i need to something like that, but after i inspect the <span>x</span>, i create the css rules as the firebug told me :

.close-button {
    font-family: Tahoma,Arial,sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    font-style: normal;
    color: #888;
}

however, they just never looks the same, what did i missing??

twitter:

this is the twitter close button.

mine:

this is my close button.c

for more information: http://jsfiddle.net/bitsmix/gb23A/

like image 878
Ya Zhuang Avatar asked Dec 27 '22 12:12

Ya Zhuang


1 Answers

It's not an alphabetical "x" look closely at the character × x X.. it's ascii

× (Multiplication Symbol) ALT+0215

like image 110
Hedde van der Heide Avatar answered Dec 30 '22 02:12

Hedde van der Heide