V
V
Vadim2020-04-28 18:54:07
css
Vadim, 2020-04-28 18:54:07

How is connecting font awesome different?

Hey everyone,

we've included the awesome font in an HTML page in two ways:

1) <script src="https://kit.fontawesome.com/0536e61ce4.js" crossorigin="anonymous"></script>
2) <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">


the question is not for myself, but it just became interesting why in the first case it is impossible to change the font color through CSS (SAAS)

What is the difference between such a connection?

all the best,
Vadim

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xdevelx, 2020-04-28
@Viji

How is connecting font awesome different?

The question is not correct. The font is connected via css. JS renders svg icons.
why in the first case you can not change the font color through CSS

Because in 1 case not the font.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question