Skip to content
Advertisement

How could I use local fonts in website

I want to show my business tagline in “monotype corsiva” font it is not available on Google font so any body can please help me out for it .

Advertisement

Answer

Paste all these font formates in your css folder otf/ttf/woff.

Add in your stylesheet:-

@font-face {
    font-family: 'MTCORSVA';
    src: url('./MTCORSVA.eot');
    src: local('MTCORSVA'), url('./MTCORSVA.woff') format('woff'), url('./MTCORSVA.ttf') format('truetype');
}

now use this to apply font family font-family: 'MTCORSVA';

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement