css - 为什么 fa fa instagram 3x 不起作用?

标签 css hover instagram

我创建了一些社交按钮。除 Instagram 外,所有按钮均显示。我不知道为什么它不起作用。这是我的代码

<div class="text-center center-block">
                <a href="https://www.facebook.com/shahin.albd"><i id="social-fb" class="fa fa-facebook-square fa-3x social"></i></a>

                <a href="https://instagram.com"><i id="social-in" class="fa fa-instagram-square fa-3x social"></i></a>

                <a href="https://twitter.com"><i id="social-tw" class="fa fa-twitter-square fa-3x social"></i></a>                
            </div>

这是我的 id“social-in”的 CSS

#lab_social_icon_footer #social-in:hover {

颜色:#4E433C;

}

最佳答案

FontAwesome 没有 fa-instagram-square 图标。他们只有 fa-instagram 可用。

但是,您可以将此图标与方形图标堆叠在一起,如下所示:

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<span class="fa-stack fa-3x">
    <i class="fa fa-square fa-stack-2x"></i>
    <i class="fa fa-instagram fa-stack-1x" style="color: white;"></i>
</span>

关于css - 为什么 fa fa instagram 3x 不起作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47839033/

相关文章:

html - 不需要 Javascript 的弹出菜单

html - 所有 block 都应该水平放置

c# - OAuthForbiddenException : You are not a sandbox user of this client - Instagram login in ASP. NET MVC

api - Instagram ?__a=1&max_id=<end_cursor> 不适用于公共(public)用户提要

amazon-web-services - Instagram 如何命名文件

javascript - 我在一个 div 中有 2 个并排的元素,隐藏一个会使另一个扩展以填充它们所在的 div 的空间吗?

jquery - 激活每个 div 顶部的按钮?

css - 为什么悬停不起作用.CSS RGBA NOT WORKING

jQuery 高级悬停和淡入功能

javascript - 通过另一个元素进行 jQuery 悬停检测?