草庐IT

TTF_Font

全部标签

html - 使用 Entypo @font-face 在 IE8 或更高版本中不起作用?

我刚开始使用Entypofont-face来制作我的社交图标,但在IE8或更高版本中,它将字体显示为一个空框。不知道是我的代码有问题还是他们的字体有问题。@font-face{font-family:'entypo-social';src:url('entypo-social.eot');src:url('entypo-social.eot?#iefix')format('embedded-opentype'),url('entypo-social.woff')format('woff'),url('entypo-social.ttf')format('truetype'),url('

html - css font-face 不适用于@fonsquirrel

我的css文件中有这段代码来自@fontsquirrel生成器:///将代码更改为现在的样子///@font-face{font-family:'AdLibRegular';src:url('../fonts/adlib-webfont.eot');src:local('☺'),url('../fonts/adlib-webfont.woff')format('woff'),url('../fonts/adlib-webfont.ttf')format('truetype'),url('../fonts/adlib-webfont.svg#webfontmAc00Ivp')format

html - 如何更改 Font Awesome 图标的颜色

我有一个使用ng-repeat生成的table。当用户选择表格行时,我可以应用以突出显示table行并应用特定类。问题是我无法更改row中的图标,突出显示的background-color行也是blue和文本更改为white但图标保持蓝色。CSS.selected{background-color:#004b89;color:white;font-weight:bold;}HTML 最佳答案 选择要更改颜色的font-awesome类,因为这可能是CSS特异性问题。.not-selected.fa-pencil{color:red}

html - LESS:在 :before 中使用 font-awesome

我想要一个带有自定义字体、颜色和左侧元素符号的页眉的CSS选择器。所以我希望我的标题使用我的自定义字体,它是:before使用font-awesome的伪元素。所以我想要我的:before拥有.fa类,而整个元素没有这个类。我有这个html:Hello我想在LESS中写这样的东西:.bulleted-header{color:#61cbe6;font:16px'ds_goose',sans-serif;&:before{content:@fa-var-bullseye;//font-awesome'sbulleticon.fa;//callingfont-awesome'sclass.

html - 为什么我的 <select> "font-family"属性不是从 <body> 继承的?

我的代码:body{font-family:"Verdana",Arial,Helvetica,sans-serif;}.myfont{font-family:"Verdana",Arial,Helvetica,sans-serif;}HelloHelloHello为什么第一个元素不继承font-family规范中的属性?如果我必须更改的字体为什么我必须复制样式? 最佳答案 如果您使用:select{font-family:inherit;}它会很好地工作。当涉及到表单控件时,CSS有点古怪。

html - 如何将 Font Awesome 图标插入文本输入?

关闭。这个问题需要debuggingdetails.它目前不接受答案。编辑问题以包含desiredbehavior,aspecificproblemorerror,andtheshortestcodenecessarytoreproducetheproblem.这将有助于其他人回答问题。关闭7年前。Improvethisquestion如何将日历Web字体图标插入我的输入字段?HTML:CSS:.start_date:before{font-family:"FontAwesome";content:"\f073";}

html - 自定义 Font Awesome CSS

我正在尝试使用FontAwesome来创建我的表单。但是FA图标已经带有填充颜色。当我尝试添加颜色时,它被赋予了整个图标。有没有办法做到这一点?或者我应该使用任何其他unicode?注意:我只能通过CSS来实现。不应配置父组件。所以我必须只传递一个CSS类来实现这一点。请建议我是否有任何其他我可以使用的unicode,因为我使用的那个看起来不像样式指南中的那个-非常感谢!!我有:第一张图片是我的。第二张图片是它应该是什么样的.exclamation-red.validation-tooltip-text:before{边框:无;内容:“\f06a”;字体系列:fontAwesome;左

html - @font-face 是否适用于所有浏览器?

@font-face是否适用于所有浏览器?如何使用@font-face? 最佳答案 checkout:@font-facebrowsersupportWebkit/Safari从3.1版开始字体格式:TrueType/OpenTypeTT(.ttf)OpenTypePS(.otf)SafariMobile(iPhone/iPad):仅SVG字体更多信息:http://webkit.org/blog/124/downloadable-fonts/维基:代码示例歌剧自从歌剧10:http://www.opera.com/browser/

php - css 中有没有办法清除所有 font-family + font-size 样式声明?

我有一个页面是cms/wysiwyg/msword噩梦。它从数据库中提取许多文本段落,其中一些保留了msword的奇怪html标签——包括字体声明!!!啊!一句话我可以有这样的东西:thisissomeuglytext!我想知道是否有一种方法可以删除所有字体系列和字体大小样式,以便它们适应主样式表css?如果可以避免的话,我宁愿不要进入大量的preg_replace条件。谢谢 最佳答案 CSS:span{font-family:initial!important;font-size:initial!important;}

html - 在 Chrome 中 @font-face local() 找不到本地字体

GoogleChrome不使用本地系统的字体而是从服务器下载,但Firefox从本地系统正确使用它。AsIcanseeinDevTools,thefontwasdownloadedfromtheserver:DevTools->Computed->RenderedFonts[img]IntheFirefoxIcansee,thatweuselocalfont:FirefoxTools->Fonts[img]@font-face{font-family:'Calibri';src:local(CalibriItalic),local(Calibri-Italic),url('../fon