-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResponsive.css
More file actions
78 lines (70 loc) · 1.32 KB
/
Copy pathResponsive.css
File metadata and controls
78 lines (70 loc) · 1.32 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
*{
margin : 0;
padding : 0;
font-family: "montserrat", sans-serif;
box-sizing : border-box;
}
body {
background : #f1f1f1;
min-height : 100vh;
display : flex;
align-items : center;
justify-content: center;
}
.contact-info {
display: flex;
width : 100%;
max-width : 1200px;
align-items : center;
justify-content: center;
padding : 0 20px;
}
.card {
background : #2f3542;
padding: 0 20px;
margin: 0 10px;
width: calc(33% - 20px);
height : 200px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color : #fff;
}
.card-icon {
font-size: 28px;
background: #ff6348;
width : 60px;
height: 60px;
text-align: center;
line-height: 60px !important;
border-radius: 50%;
transition : 0.3s linear;
}
.card:hover .card-icon {
background : none;
color : #ff6348;
transform: scale(1.6);
}
.card p {
margin-top: 20px;
font-weight: 300;
letter-spacing: 2px;
max-height: 0;
opacity: 0;
transition: 0.3s linear;
}
.card:hover p{
max-height: 40px;
opacity: 1;
}
@media screen and (max-width: 800px){
.contact-info {
flex-direction: column;
}
.card {
width : 100%;
max-width: 300px;
margin: 10px 0;
}
}