谷歌浏览器不显示 字体图标,其他浏览器可以显示(代码

谷歌浏览器不显示 字体图标,其他浏览器可以显示(代码

# 具体遇到的问题

# 报错信息的截图

# 相关课程内容截图

# 尝试过的解决思路和结果

# 粘贴全部相关代码,切记添加代码注释(请勿截图)

   <!-- 机酒自由行 -->

    <section class="jjzyx content-part">

        <div class="center-wrap">

            <div class="hd clearfix">

                <h2>机酒自由行</h2>

                <em>挑选全球机票、酒店、邮轮等旅行产品</em>

                <nav>

                    <ul>

                        <li class="current"><a href="">近期好货</a></li>

                        <li><a href="">新品汇聚</a></li>

                        <li><a href="">定制游</a></li>

                        <li><a href="">国内推荐</a></li>

                        <li><a href="">优惠机票</a></li>

                        <li><a href="">热门海岛</a></li>

                        <li><a href="">热卖签证</a></li>

                    </ul>

                </nav>

            </div>

            <div class="bd">

                <ul>

                    <li class="big-grid">

                       <a href=""><img src="images/jjzyx1.png" alt=""></a>

                       <span class="tag">机票</span>

                       <div class="info">

                        <p>[樱花季]天津直飞东京/大阪/名古屋/冲绳/札幌2-30天往返</p>

                        <p>含税机票【甩尾/多团期】</p>

                       </div>

                    </li>

                    <li class="pro-grid">

                        <a href="">

                            <div class="picbox">

                                <img src="images/jjzyx2.png" alt="">

                                <span class="tag">跟团游</span>

                            </div>

                            <div class="wordbox">

                                北京/上海/南京/杭州直飞巴厘岛5-7天往返含税机票(赠送旅游意外险…

                            </div>

                        </a>

                    </li>

                    <li class="pro-grid">

                        <a href="">

                            <div class="picbox">

                                <img src="images/jjzyx3.png" alt="">

                                <span class="tag">机票</span>

                            </div>

                            <div class="wordbox">

                                北京/天津直飞日本东京/大阪/东阪/福冈/名古屋冲绳/北海道4-7天往返…

                            </div>

                        </a>

                    </li>

                    <li class="pro-grid">

                        <a href="">

                            <div class="picbox">

                                <img src="images/jjzyx4.png" alt="">

                                <span class="tag">机票</span>

                            </div>

                            <div class="wordbox">

                                [樱花季] 北京/天津直飞东京/大阪/名古屋/福冈/广岛/北海道/冲绳往返…

                            </div>

                        </a>

                    </li>

                    <li class="pro-grid">

                        <a href="">

                            <div class="picbox">

                                <img src="images/jjzyx5.png" alt="">

                                <span class="tag">机票</span>

                            </div>

                            <div class="wordbox">

                                杭州/上海/宁波/义乌直飞越南芽庄/岘港4-6天往返含税机票(20KG行…

                            </div>

                        </a>

                    </li>

                    <li class="pro-grid">

                        <a href="">

                            <div class="picbox">

                                <img src="images/jjzyx6.png" alt="">

                                <span class="tag">机票</span>

                            </div>

                            <div class="wordbox">

                                [赠自由行礼包] 上海/杭州/南京/合肥/宁波/徐州直飞日本东京/大阪…

                            </div>

                        </a>

                    </li>

                    <li class="more-grid">

                        <a href="">

                            <p>查看更多</p>

                            <p>机酒自由行产品</p>

                        

                             <span class="iconfont">&#xe611;</span>

                             <ul>

                                 <li>机票</li>

                                 <li>酒店</li>

                                 <li>机+酒</li>

                                 <li>邮轮</li>

                             </ul>

                        </a>     

                    </li>


                </ul>

            </div>

        </div>

    </section>


/* 机酒自由行下半部分 */

.jjzyx .center-wrap .bd {

    padding-top32px;

}



.jjzyx .center-wrap .bd>ul>li {

    floatleft;

    background-color#fff;

    margin-right32px;

    margin-bottom32px;

    box-shadow0 4px 8px 0 rgba(0,0,0,0.08);

}

.jjzyx .center-wrap .bd ul>li:nth-child(3),.jjzyx .center-wrap .bd ul li:nth-child(7) {

    margin-right:0;

}

.jjzyx .center-wrap .bd>ul>li:hover {

    box-shadow0 8px 16px 0 rgba(0,0,0,0.20);

}

.jjzyx .center-wrap .bd>ul>li:hover .picbox img {

    opacity0.5;

   

}

.jjzyx .center-wrap .bd>ul>li.big-grid {

    width560px;

    height270px;

    position:relative;

  

}

.jjzyx .center-wrap .bd>ul>li .tag {

    width74px;

    height40px;

    background-colorrgba(28,31,33,.55);

    color:#fff;

    position:absolute;

    bottom103px;

    left0;

    text-align:center;

    line-height40px;

}

.jjzyx .center-wrap .bd>ul>li.big-grid .info {

    position:absolute;

    bottom:0;

    width560px;

    height103px;

    padding30px 26px;

    box-sizing:border-box;

    backgroundrgba(28,31,33,.55);

    font-size14px;

    line-height26px;

    color#fff;

}

.jjzyx .center-wrap .bd>ul>li.pro-grid {

    width264px;

    height270px;

    

}



.jjzyx .center-wrap .bd>ul>li.more-grid {

    width264px;

    height270px;

    background-imagelinear-gradient(180deg#34E3BC 0%#15AF7A 98%);

    padding-top:46px;

    box-sizing:border-box;

    position:relative;

}


.jjzyx .center-wrap .bd>ul>li.pro-grid .wordbox {

    font-size14px;

    color#1C1F21;

    padding:14px;

    line-height22px;

}

.jjzyx .center-wrap .bd>ul>li.pro-grid .picbox {

    width560px;

    height184px;

    position:relative;

}


.jjzyx .center-wrap .bd>ul>li.pro-grid .picbox .tag {

    positionabsolute;

    bottom0;

}


.jjzyx .center-wrap .bd>ul>li.more-grid p {

    color:#fff;

    text-aligncenter;

    line-height24px;


    

}


.jjzyx .center-wrap .bd>ul>li.more-grid .iconfont {

    position:absolute;

    top:108px;

    font-size48px;

    color:#fff;

    width48px;

    height48px;

    left50%;

    margin-left-24px;


}


.jjzyx .center-wrap .bd>ul>li.more-grid ul {

    margin-top83px;

    padding-left30px;

}

.jjzyx .center-wrap .bd>ul>li.more-grid ul li {

    color:#fff;

    float:left;

    border-right1px solid #fff;

    padding:0 8px;

    height22px;

    line-height22px;

}

.jjzyx .center-wrap .bd>ul>li.more-grid ul li:last-child {

    border-right0px;

}


正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

1回答
好帮手慕鹤 2020-10-27 10:12:43

同学你好,由于同学的代码没有粘贴完整,老师也不知道同学下载的样式是什么样的,建议同学先按照老师提供的源码和文件先进行下测试,老师提供的效果可以在谷歌浏览器正常显示,如果还是不行的话, 建议同学把代码粘贴完整哦。

祝学习愉快!

  • 提问者 qq_幸运礼物XYLW_0 #1
    你好,我清了一下chrome的缓存就好了,代码看了没什么问题。感谢
    2020-10-27 14:55:48
问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师