File tree 3 files changed +48
-6
lines changed
3 files changed +48
-6
lines changed Original file line number Diff line number Diff line change 1
- div {
2
- font : 1.2 em "Poppins" , sans-serif ;
1
+ p {
2
+ font-size : x-large ;
3
3
}
4
4
5
- p {
5
+ .google-poppins {
6
+ font-family : "Poppins" , sans-serif;
7
+ }
8
+
9
+ .google-press-start {
6
10
font-family : "Press Start 2P" , sans-serif;
7
11
}
12
+
13
+ .bunny-aclonica {
14
+ font-family : "Aclonica" , sans-serif;
15
+ }
16
+
17
+ .bunny-allan {
18
+ font-family : "Allan" , sans-serif;
19
+ }
20
+
21
+ .font-share-panchang {
22
+ font-family : "Panchang" , sans-serif;
23
+ }
24
+
25
+ .font-source-luckiest {
26
+ font-family : "Luckiest Guy" , sans-serif;
27
+ }
28
+
29
+ @font-face {
30
+ font-family : "Black Fox" ;
31
+ src : url ("./black-fox.ttf" );
32
+ }
33
+
34
+ .local {
35
+ font-family : "Black Fox" , sans-serif;
36
+ }
Original file line number Diff line number Diff line change @@ -3,9 +3,22 @@ import './App.css';
3
3
function App ( ) {
4
4
return (
5
5
< div >
6
- < h1 > Google provider</ h1 >
7
- < div > Poppins</ div >
8
- < p > Press Start 2P</ p >
6
+ < h1 > Google</ h1 >
7
+ < p className = "poppins" > Poppins</ p >
8
+ < p className = "press-start" > Press Start 2P</ p >
9
+
10
+ < h1 > Bunny</ h1 >
11
+ < p className = "bunny-aclonica" > Aclonica</ p >
12
+ < p className = "bunny-allan" > Allan</ p >
13
+
14
+ < h1 > FontShare</ h1 >
15
+ < p className = "font-share-panchang" > Panchang</ p >
16
+
17
+ < h1 > FontSource</ h1 >
18
+ < p className = "font-source-luckiest" > Luckiest</ p >
19
+
20
+ < h1 > Local</ h1 >
21
+ < p className = "local" > Local font</ p >
9
22
</ div >
10
23
) ;
11
24
}
You can’t perform that action at this time.
0 commit comments