in Programming by (10.8k points)
0 like 0 dislike
38 views

How I can to include specific font in CSS?

1 Answer

0 like 0 dislike
by (10.8k points)

For including specific fonts use next CSS rules: @font-face, @import.

Examples

@import CSS rule:

@import url(https://fonts.googleapis.com/css?family=Tahoma:600,400);

@font-face CSS rule:

@font-face {
    font-family: Tahoma Light;
    src: url(/font/Tahoma_Light.ttf);
}

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.