最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to add Flaticons to my website using CDN link - Stack Overflow

programmeradmin5浏览0评论

I have a simple html css js page that i wanna add some flaticons on it, i don't wanna download the icons on my laptop, for many reasons, anyway , i tried to add the icons via a cdn link, but nothing happened like i didn't add them at all.

CDN link:

<head>
<!--flaticon -->
    <link rel="stylesheet" href=".3.0/css/flat-ui.min.css" 
    integrity="sha512-6f7HT84a/AplPkpSRSKWqbseRTG4aRrhadjZezYQ0oVk/B+nm/US5KzQkyyOyh0Mn9cyDdChRdS9qaxJRHayww==" 
    crossorigin="anonymous" referrerpolicy="no-referrer" />

</head>

and this is the icon :

<div class="header-phone-icon">
    <i class="flaticon-phone-call "></i>
</div>

Sorry if that seems like a silly question bcz it's my first time using flaticons

I have a simple html css js page that i wanna add some flaticons on it, i don't wanna download the icons on my laptop, for many reasons, anyway , i tried to add the icons via a cdn link, but nothing happened like i didn't add them at all.

CDN link:

<head>
<!--flaticon -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare./ajax/libs/flat-ui/2.3.0/css/flat-ui.min.css" 
    integrity="sha512-6f7HT84a/AplPkpSRSKWqbseRTG4aRrhadjZezYQ0oVk/B+nm/US5KzQkyyOyh0Mn9cyDdChRdS9qaxJRHayww==" 
    crossorigin="anonymous" referrerpolicy="no-referrer" />

</head>

and this is the icon :

<div class="header-phone-icon">
    <i class="flaticon-phone-call "></i>
</div>

Sorry if that seems like a silly question bcz it's my first time using flaticons

Share asked Feb 25, 2023 at 19:34 Djaber MegharDjaber Meghar 371 gold badge1 silver badge7 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 1

There is no icon called flaticon-phone-call

You will find here a list of existing icons

<link href="https://cdnjs.cloudflare./ajax/libs/flat-ui/2.3.0/css/flat-ui.min.css" rel="stylesheet"/>


<div class="header-phone-icon">
    <i class="fui-user">hello world</i>
</div>

发布评论

评论列表(0)

  1. 暂无评论