本文介绍了css字体twitter喜欢关闭按钮,我失踪了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

twitter有它的关闭按钮是一个单一的字符'x'。



我需要这样的东西,但在我检查< span> x< / span> ,我按firebug告诉我的方式创建css规则:

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

然而,他们看起来不一样, / p>

twitter:





我的:





了解更多信息:

解决方案

这不是一个字母x仔细看看字符×x X ..它是ascii



×乘法符号)ALT + 0215


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:

mine:

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

解决方案

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

× (Multiplication Symbol) ALT+0215

这篇关于css字体twitter喜欢关闭按钮,我失踪了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 03:33