How do I download/extract font from chrome developers tools?

前端 未结 7 1393
甜味超标
甜味超标 2021-01-30 12:52

I have tired many things but i can\'t get it even though my computer has it.

How can I access this wont files? They have the .woff extension. Double clicking them in chro

7条回答
  •  萌比男神i
    2021-01-30 13:00

    Although Marcelo's solution seems to be working great, you may not need to download the font at all! Just link to it remotely.

    E.g the font is hosted on example.com, do

    @font-face {
      font-family: "Font Name";
      font-style: normal;
      src: url(http://example.com/webfonts/font-name.woff);
    }
    

    You may easily figure out the direct url to the font by looking into css code from example.com and see how they linked the file.

提交回复
热议问题