谷歌浏览器不显示 字体图标,其他浏览器可以显示(代码
# 具体遇到的问题
# 报错信息的截图
# 相关课程内容截图
# 尝试过的解决思路和结果
# 粘贴全部相关代码,切记添加代码注释(请勿截图)
<!-- 机酒自由行 -->
<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"></span>
<ul>
<li>机票</li>
<li>酒店</li>
<li>机+酒</li>
<li>邮轮</li>
</ul>
</a>
</li>
</ul>
</div>
</div>
</section>
/* 机酒自由行下半部分 */
.jjzyx .center-wrap .bd {
padding-top: 32px;
}
.jjzyx .center-wrap .bd>ul>li {
float: left;
background-color: #fff;
margin-right: 32px;
margin-bottom: 32px;
box-shadow: 0 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-shadow: 0 8px 16px 0 rgba(0,0,0,0.20);
}
.jjzyx .center-wrap .bd>ul>li:hover .picbox img {
opacity: 0.5;
}
.jjzyx .center-wrap .bd>ul>li.big-grid {
width: 560px;
height: 270px;
position:relative;
}
.jjzyx .center-wrap .bd>ul>li .tag {
width: 74px;
height: 40px;
background-color: rgba(28,31,33,.55);
color:#fff;
position:absolute;
bottom: 103px;
left: 0;
text-align:center;
line-height: 40px;
}
.jjzyx .center-wrap .bd>ul>li.big-grid .info {
position:absolute;
bottom:0;
width: 560px;
height: 103px;
padding: 30px 26px;
box-sizing:border-box;
background: rgba(28,31,33,.55);
font-size: 14px;
line-height: 26px;
color: #fff;
}
.jjzyx .center-wrap .bd>ul>li.pro-grid {
width: 264px;
height: 270px;
}
.jjzyx .center-wrap .bd>ul>li.more-grid {
width: 264px;
height: 270px;
background-image: linear-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-size: 14px;
color: #1C1F21;
padding:14px;
line-height: 22px;
}
.jjzyx .center-wrap .bd>ul>li.pro-grid .picbox {
width: 560px;
height: 184px;
position:relative;
}
.jjzyx .center-wrap .bd>ul>li.pro-grid .picbox .tag {
position: absolute;
bottom: 0;
}
.jjzyx .center-wrap .bd>ul>li.more-grid p {
color:#fff;
text-align: center;
line-height: 24px;
}
.jjzyx .center-wrap .bd>ul>li.more-grid .iconfont {
position:absolute;
top:108px;
font-size: 48px;
color:#fff;
width: 48px;
height: 48px;
left: 50%;
margin-left: -24px;
}
.jjzyx .center-wrap .bd>ul>li.more-grid ul {
margin-top: 83px;
padding-left: 30px;
}
.jjzyx .center-wrap .bd>ul>li.more-grid ul li {
color:#fff;
float:left;
border-right: 1px solid #fff;
padding:0 8px;
height: 22px;
line-height: 22px;
}
.jjzyx .center-wrap .bd>ul>li.more-grid ul li:last-child {
border-right: 0px;
}
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星