File tree 3 files changed +32
-31
lines changed
3 files changed +32
-31
lines changed Original file line number Diff line number Diff line change @@ -39,36 +39,6 @@ html {
39
39
justify-content : space-around;
40
40
}
41
41
42
- .anime {
43
- width : 25% ;
44
- padding : 16px ;
45
- }
46
-
47
- .anime__name {
48
- color : # e6700f ;
49
- font-size : 18px ;
50
- }
51
-
52
- .anime__img--wrapper {
53
- border-radius : 8px ;
54
- overflow : hidden;
55
- margin-bottom : 8px ;
56
- box-shadow : 0px 12px 30px 0px rgba (0 , 0 , 0 , 0.2 );
57
- max-height : 380px ;
58
- }
59
-
60
- .anime__img {
61
- width : 100% ;
62
- height : 100% ;
63
- transform : scale (1.1 );
64
- transition : all 300ms ease;
65
- }
66
-
67
- .anime : hover .anime__img {
68
- filter : brightness (80% );
69
- opacity : 0.86 ;
70
- transform : scale (1.2 );
71
- }
72
42
73
43
.container {
74
44
padding : 24px 24px ;
Original file line number Diff line number Diff line change
1
+ .anime {
2
+ width : 25% ;
3
+ padding : 16px ;
4
+ }
5
+
6
+ .anime__name {
7
+ color : # e6700f ;
8
+ font-size : 18px ;
9
+ }
10
+
11
+ .anime__img--wrapper {
12
+ border-radius : 8px ;
13
+ overflow : hidden;
14
+ margin-bottom : 8px ;
15
+ box-shadow : 0px 12px 30px 0px rgba (0 , 0 , 0 , 0.2 );
16
+ max-height : 380px ;
17
+ }
18
+
19
+ .anime__img {
20
+ width : 100% ;
21
+ height : 100% ;
22
+ transform : scale (1.1 );
23
+ transition : all 300ms ease;
24
+ }
25
+
26
+ .anime : hover .anime__img {
27
+ filter : brightness (80% );
28
+ opacity : 0.86 ;
29
+ transform : scale (1.2 );
30
+ }
31
+
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import "../src/App .css" ;
2
+ import "Anime .css" ;
3
3
import { Link } from "react-router-dom" ;
4
4
5
5
function Anime ( { title, cover, id } ) {
You can’t perform that action at this time.
0 commit comments