1
1
* {
2
- box-sizing : border-box;
3
- /* ADDED BORDER RADIUS IN IMAGE SECTION */
4
- border-radius : 20px ;
5
- }
6
-
7
- .outer-box {
8
- font-family : Verdana, Geneva, Tahoma, sans-serif;
9
- display : flex;
10
- align-items : center;
11
- justify-content : center;
12
- height : 100vh ;
13
- overflow : hidden;
14
- margin : 0 ;
15
-
16
- }
17
-
18
- .containers {
19
- display : flex;
20
- width : 90vw ;
21
-
22
- }
23
-
24
- .card {
25
- background-size : cover;
26
- background-position : center;
27
- background-repeat : no-repeat;
28
- height : 70vh ;
29
- border-radius : 35px 35px ;
30
- /* border-radius: 20px; */
31
- color : # fff ;
32
- cursor : pointer;
33
- flex : 0.5 ;
34
- margin : 10px ;
35
- position : relative;
36
- transition : flex 0.7s ease-in;
37
- display : flex;
38
- flex-direction : column;
39
- }
40
-
41
- /* .card:hover {
42
- flex: 3;
43
- }
2
+ box-sizing : border-box;
3
+ /* ADDED BORDER RADIUS IN IMAGE SECTION */
4
+ border-radius : 20px ;
5
+ }
44
6
45
- .card:hover h3, .card:hover p {
46
- opacity: 1;
47
- transition: opacity 0.5s ease-in 0.8s;
48
- }
7
+ .outer-box {
8
+ font-family : Verdana, Geneva, Tahoma, sans-serif;
9
+ display : flex;
10
+ align-items : center;
11
+ justify-content : center;
12
+ height : 100vh ;
13
+ overflow : hidden;
14
+ margin : 0 ;
15
+ }
49
16
50
- .card:hover .info {
51
- visibility: visible;
52
- } */
53
-
54
- .info {
55
- position : absolute;
56
- bottom : 20px ;
57
- left : 25% ;
58
- visibility : hidden;
59
- background : rgba (221 , 206 , 216 , 0.462 );
60
- backdrop-filter : blur (0px );
61
- width : 500px ;
62
- border-radius : 15px 15px ;
63
- }
64
-
65
- .card h3 {
66
- font-size : 24px ;
67
- opacity : 0 ;
68
- color : black !important ;
69
- font-family : Georgia, 'Times New Roman' , Times, serif ;
70
- font-weight : bolder;
71
- -webkit-text-stroke : 1px navy;
72
- }
73
-
74
- .card p {
75
- font-size : 16px ;
76
- opacity : 0 ;
77
- color : black !important ;
78
- margin-top : 10px ;
79
- font-weight : 500 ;
80
- /* -webkit-text-stroke:0.5px beige; */
81
- }
17
+ .containers {
18
+ display : flex;
19
+ width : 90vw ;
82
20
83
- .card .active {
21
+ }
22
+
23
+ .card {
24
+ background-size : cover;
25
+ background-position : center;
26
+ background-repeat : no-repeat;
27
+ height : 70vh ;
28
+ border-radius : 35px 35px ;
29
+ /* border-radius: 20px; */
30
+ color : # fff ;
31
+ cursor : pointer;
32
+ flex : 0.5 ;
33
+ margin : 10px ;
34
+ position : relative;
35
+ transition : flex 0.7s ease-in;
36
+ display : flex;
37
+ flex-direction : column;
38
+ }
39
+
40
+ /* .card:hover {
84
41
flex: 3;
85
- }
86
-
87
- .card . active h3 , .card . active p {
42
+ }
43
+
44
+ .card:hover h3, .card:hover p {
88
45
opacity: 1;
89
46
transition: opacity 0.5s ease-in 0.8s;
90
- }
91
-
92
- .card . active .info {
47
+ }
48
+
49
+ .card:hover .info {
93
50
visibility: visible;
51
+ } */
52
+
53
+ .info {
54
+ position : absolute;
55
+ bottom : 20px ;
56
+ left : 25% ;
57
+ visibility : hidden;
58
+ background : rgba (221 , 206 , 216 , 0.462 );
59
+ backdrop-filter : blur (0px );
60
+ width : 500px ;
61
+ border-radius : 15px 15px ;
62
+ }
63
+
64
+ .card h3 {
65
+ font-size : 24px ;
66
+ opacity : 0 ;
67
+ color : black !important ;
68
+ font-family : Georgia, 'Times New Roman' , Times, serif ;
69
+ font-weight : bolder;
70
+ -webkit-text-stroke : 1px navy;
71
+ }
72
+
73
+ .card p {
74
+ font-size : 16px ;
75
+ opacity : 0 ;
76
+ color : black !important ;
77
+ margin-top : 10px ;
78
+ font-weight : 500 ;
79
+ /* -webkit-text-stroke:0.5px beige; */
80
+ }
81
+
82
+ .card .active {
83
+ flex : 3 ;
84
+ }
85
+
86
+ .card .active h3 , .card .active p {
87
+ opacity : 1 ;
88
+ transition : opacity 0.5s ease-in 0.8s ;
89
+ }
90
+
91
+ .card .active .info {
92
+ visibility : visible;
93
+ }
94
+
95
+ @media (max-width : 1300px ) {
96
+ .containers {
97
+ display : flex;
98
+ flex-direction : column;
99
+ height : 100vh ;
94
100
}
95
-
96
- @media (max-width : 1300px ) {
97
- .containers {
98
- display : flex;
99
- flex-direction : column;
100
- height : 100vh ;
101
- }
102
- .info {
103
- left : 10% ;
104
- }
105
- .card h3 {
106
- font-size : 16px ;
107
- }
108
-
109
- .card p {
110
- font-size : 12px ;
111
- }
101
+ .info {
102
+ left : 10% ;
103
+ }
104
+ .card h3 {
105
+ font-size : 16px ;
106
+ }
107
+
108
+ .card p {
109
+ font-size : 12px ;
112
110
}
113
- @media ( max-width : 620 px ){
114
- . info {
115
- width : 200 px ;
116
- left : 20 px ;
117
- }
111
+ }
112
+ @media ( max-width : 620 px ) {
113
+ . info {
114
+ width : 200 px ;
115
+ left : 20 px ;
118
116
}
119
- @media ( max-width : 280 px ){
120
- . info {
121
- width : 100 px ;
122
- left : 0 px ;
123
- }
117
+ }
118
+ @media ( max-width : 280 px ) {
119
+ . info {
120
+ width : 100 px ;
121
+ left : 0 px ;
124
122
}
125
-
123
+ }
0 commit comments