font-awesome

FontAwesome instagram icon - colorized

耗尽温柔 提交于 2019-12-04 08:14:42
Any one know how to show the FontAwesome icon for Instagram and style it to be shown with the new Instagram icon multi colors? New instagram icon I was trying to do the same. I found this is solution after several attempt. .fa.fa-instagram { color: transparent; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); background-clip: text; -webkit-background-clip: text; } <html> <head> <link href="http://maxcdn

How to get fontawesome to work on an Azure web pages deployment?

那年仲夏 提交于 2019-12-04 08:10:33
问题 We are using Twitter Bootstrap and FontAwesome for icon support. When deploying to one of our IIS servers I need to add MIME support. When deploying to Azure, it doesn't look like I have this ability, so now my icons aren't showing up because it doesn't seem to know how to use the font. 回答1: Just add the following to the web.config ... <system.webServer> <staticContent> <remove fileExtension=".svg" /> <remove fileExtension=".eot" /> <remove fileExtension=".woff" /> <mimeMap fileExtension="

How can I overlay a number on top of a FontAwesome glyph?

拥有回忆 提交于 2019-12-04 07:48:42
问题 How can I overlay a number between 0 and 99 in the middle of 'icon-star-empty'? 回答1: You css should look something like: .contain-i-e-s,.icon-empty-star,.text-i-e-s{ height:100px; width:100px; } .contain-i-e-s{ position:relative; } .text-i-e-s{ text-align:center; position:absolute; } Your HTML might look like: <div class='contain-i-e-s'> <i class='icon-empty-star'></i> <div class='text-i-e-s'>99</div> </div> 回答2: Simply do this from the Font Awesome docs on Stacked Icons: <span class="fa

How do I make sure every glyph has the same width?

假装没事ソ 提交于 2019-12-04 07:45:13
问题 I've noticed that even at the same font size, there is not a standard width. How can I use these in front of a list of items so the words don't appear jagged? Screenshot of issue: This is the code: <ul id="myTab"> <li class="active"><a href="#home"><i class="icon-tasks"></i> Proposal</a></li> <li><a href="#video"><i class="icon-film"></i> Videos</a></li> <li><a href="#asset"><i class="icon-paper-clip"></i> Assets</a></li> <li><a href="#payment"><i class="icon-credit-card"></i> Payment</a></li

I need list of all class name of Font-Awesome

我只是一个虾纸丫 提交于 2019-12-04 07:33:42
问题 I build app that will present a lot of icons so I need list of all Font-Awesome class name like ["fa-dropbox","fa-rocket","fa-globe", ....] so on is there any way to get it ? 回答1: April 2017 edit: Updated to 4.7.0 As linked in the comments on your question, Font Awesome provides a Cheatsheet page which lists all icon previews, class names and character codes and even lists aliases ( fa-automobile , for instance, which is an alias of fa-car ). 4.*.* Cheatsheet: http://fortawesome.github.io

What is the baseline font height of FontAwesome font?

末鹿安然 提交于 2019-12-04 06:24:43
I created a font icons set with FontAwesome icons and free icomoon icons set with Icomoon app . The default baseline in the app is 6.25% . When I compare default FontAwesome icons and FontAwesome icons from icomoon app they are off by few px. In the image below , the button on the left is using default FontAwesome font , the button on the right is using same font icon created with icomoon app. You can see that the icon in the button on the right is up by 2px or so. Their CSS is almost same and using FontAwesome CSS does not change the fact that baseline is off and I don't want to adjust this

Nativecript Fontawesome 5 iphone not working

老子叫甜甜 提交于 2019-12-04 05:56:54
问题 I'm trying to get Font Awesome 5 to work on android but it's not working. Using the https://github.com/NathanWalker/nativescript-ngx-fonticon package. My folder structure - src -- assets -- fonts -- app The assets folder contains the fontawesome css (font-awesome.css), I've removed everything above the "Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen readers do not read off random characters that represent icons" remark. The fonts folder contains all the fontfiles (eot /

Font Awesome 5 fa-github, fa-twitter, etc. not working (squares)

跟風遠走 提交于 2019-12-04 04:10:14
问题 I have a website, setup with webpack. I added Font Awesome Pro and configured the global token for it. So the Pro Icons are working. But some doesn't, like fa-github or fa-twitter . And these are actually even free icons. A few days ago they worked. Here's my code how I set everything up: Package.json: "dependencies": { "@fortawesome/fontawesome": "^1.1.5", "@fortawesome/fontawesome-free-brands": "^5.0.9", "@fortawesome/fontawesome-pro-light": "^5.0.9", "@fortawesome/fontawesome-pro-regular":

FontAwesome Icons in Angular 6?

六月ゝ 毕业季﹏ 提交于 2019-12-04 04:09:12
I'm trying to use icons from FontAwesome in an Angular project. I started with the "Getting Started" guide you can find here: FontAwesome Angular Getting Started Everything works fine, i can see the faCoffee icon wherever i put it in my templates. But if I try to change it to another icon (ex. the "check" icon), nothing is shown. I changed my icon declaration at component-level to make it look like this: import { faCheck } from '@fortawesome/free-solid-svg-icons'; Changed the html template to show my new icon: <fa-icon [icon]="faCheck"></fa-icon> Then the icon field assignment in my component:

Font awesome icon showing as square in chrome?

*爱你&永不变心* 提交于 2019-12-04 02:52:24
I am trying to use a font-awsome icon within a button. The icon works fine in firefox but when I use it in chrome it appears as a square. I have looked around and the only thing that I found was that the paths to the fonts may not be right however I have since tried the cdn version here and it is still working in firefox but not in chrome. Also I have tried the same stylesheets in a static html file on my computer it is working fine. Here is an example of the html being used: <a id="btnLogin" href="url.com" class="btn btn-primary btn-large disabled"> <i class="icon-refresh icon-white"></i>