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