0 like 0 dislike
9 views
asked in Programming by (4.5k points)

How I can to include specific font in CSS?

Your answer

pre, code

Preview

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.

1 Answer

0 like 0 dislike
answered by (4.5k 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);
}

Related questions

0 like 0 dislike
1 answer 42 views
0 like 0 dislike
1 answer 27 views
0 like 0 dislike
1 answer 11 views
0 like 0 dislike
1 answer 17 views
0 like 0 dislike
1 answer 5 views
0 like 0 dislike
1 answer 4 views
0 like 0 dislike
1 answer 10 views
0 like 0 dislike
1 answer 10 views
...