我将很棒的字体脚本提供给了 HTML 头,但它显示的是方块而不是图标。代码是:
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="{% static "all.css" %}">
<link rel="stylesheet" href="{% static "bootstrap.css" %}">
<link rel="stylesheet" href="{%static "style.css" %}">
<link href="https://fonts.googleapis.com/css2?family=Candal&family=Lora&display=swap" rel="stylesheet">
<title>Online yuridik xizmatlar</title>
<script src="//code.jivosite.com/widget/pvNOxCEa74" async></script>
<!--Font Awesome -->
<script src="https://use.fontawesome.com/6cd0e4d425.js"></script>
<style>
#loader{
position: fixed;
width: 100%;
height: 100vh;
background: #000000
url('../static/contact/images/Infinity-1s-200px.gif') no-repeat center;
z-index: 99999;
}
</style>
</head>
<div id="home-icons" class="my-5 text-center">
<div class="container">
<div class="row">
<div class="col-md-4">
<i class="fab fa-telegram-plane fa-3x mb-3"></i>
<h3>Telegramdagi kanal</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit, sapiente?</p>
</div>
<div class="col-md-4">
<i class="fab fa-facebook-f fa-3x mb-3"></i>
<h3>Facebookdagi sahifa</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit, sapiente?</p>
</div>
<div class="col-md-4">
<i class="fab fa-instagram fa-3x mb-3"></i>
<h3>Instagramdagi sahifa</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit, sapiente?</p>
</div>
</div>
</div>
</div>
这是我的代码,在这里您可以找到 body 和 head 标签中图标部分的所有详细信息。我尝试了几种方法,但没有得到我想我搞砸了代码等待你的帮助!
慕勒3428872
相关分类