Describe a font face for use in a document in CSS

CSSWeb DevelopmentFront End Technology

To describe a font face, use the @font-face rule. You can try to run the following code to set the font face −

Example

<style>
   <!--
      @font-face {
         font-family: "Scarborough Light";
         src: url("http://www.font.site/s/scarbo-lt");
      }

      @font-face {
         font-family: Santiago;
         src: local ("Santiago"),
         url("http://www.font.site/s/santiago.tt")
         format("truetype");
         unicode-range: U+??,U+100-220;
         font-size: all;
         font-family: sans-serif;
      }
   -->
</style>
raja
Published on 30-Apr-2018 08:32:33
Advertisements