-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.css
More file actions
143 lines (110 loc) · 1.78 KB
/
info.css
File metadata and controls
143 lines (110 loc) · 1.78 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'Quicksand', sans-serif;
font-weight: bold;
}
.box1{
height: 240px;
width: 280px;
position: absolute;
transform: translate(-50%,-50%);
top: 50%;
left: 50%;
border-radius: 30px;
background: linear-gradient(to right,#1de5ff,#5f3cfa);
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
transition: height 0.5s;
}
.box1:hover{
height: 450px;
}
.pic1 img{
height: 200px;
}
.pic1{
height: 240px;
width: 250px;
position: absolute;
transform: translate(-50%,-50%);
top:67%;
left: 65%;
}
.text1 h2{
color: white;
}
.text1{
padding: 60px;
}
.text1 h4{
color: white;
}
.box1:hover h2{
display:block;
}
.box1:hover h4{
display:block;
}
.box1 h2{
display:none;
}
.box1 h4{
display:none;
}
.box2{
height: 240px;
width: 280px;
position: absolute;
transform: translate(-50%,-50%);
top: 120%;
left: 50%;
border-radius: 30px;
background: linear-gradient(to right,#ff39cd,#fa3c55);
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
transition: height 0.5s;
}
.box2:hover{
height: 450px;
}
.pic2 img{
height: 200px;
}
.pic2{
height: 240px;
width: 250px;
position: absolute;
transform: translate(-50%,-50%);
top:67%;
left: 35%;
}
.text2 h2{
color: white;
}
.text2{
padding: 60px;
}
.text2 h4{
color: white;
}
.box2:hover h2{
display:block;
}
.box2:hover h4{
display:block;
}
.box2 h2{
display:none;
}
.box2 h4{
display:none;
}
.end{
position: absolute;
transform: translate(-50%,-50%);
top:180%;
left: 50%
}
.end{
padding-bottom: 80px;
}