File tree 2 files changed +49
-14
lines changed
2 files changed +49
-14
lines changed Original file line number Diff line number Diff line change 1
- <script setup lang="ts">
2
- </script >
3
-
4
1
<template >
5
2
<div >
6
- <h1 >Google provider</h1 >
7
- <div >
8
- Poppins
9
- </div >
10
- <p >
11
- Press Start 2P
12
- </p >
3
+ <h1 >Google</h1 >
4
+ <p class =" poppins" >Poppins</p >
5
+ <p class =" press-start" >Press Start 2P</p >
6
+
7
+ <h1 >Bunny</h1 >
8
+ <p class =" bunny-aclonica" >Aclonica</p >
9
+ <p class =" bunny-allan" >Allan</p >
10
+
11
+ <h1 >FontShare</h1 >
12
+ <p class =" font-share-panchang" >Panchang</p >
13
+
14
+ <h1 >FontSource</h1 >
15
+ <p class =" font-source-luckiest" >Luckiest</p >
16
+
17
+ <h1 >Local</h1 >
18
+ <p class =" local" >Local font</p >
13
19
</div >
14
20
</template >
15
21
16
22
<style scoped>
17
- div {
18
- font : 1.2 em ' Poppins ' , sans-serif ;
23
+ p {
24
+ font-size : x-large ;
19
25
}
20
26
21
- p {
22
- font-family : ' Press Start 2P' , sans-serif ;
27
+ .google-poppins {
28
+ font-family : " Poppins" , sans-serif ;
29
+ }
30
+
31
+ .google-press-start {
32
+ font-family : " Press Start 2P" , sans-serif ;
33
+ }
34
+
35
+ .bunny-aclonica {
36
+ font-family : " Aclonica" , sans-serif ;
37
+ }
38
+
39
+ .bunny-allan {
40
+ font-family : " Allan" , sans-serif ;
41
+ }
42
+
43
+ .font-share-panchang {
44
+ font-family : " Panchang" , sans-serif ;
45
+ }
46
+
47
+ .font-source-luckiest {
48
+ font-family : " Luckiest Guy" , sans-serif ;
49
+ }
50
+
51
+ @font-face {
52
+ font-family : " Black Fox" ;
53
+ src : url (" ./black-fox.ttf" );
54
+ }
55
+
56
+ .local {
57
+ font-family : " Black Fox" , sans-serif ;
23
58
}
24
59
</style >
You can’t perform that action at this time.
0 commit comments