-
Notifications
You must be signed in to change notification settings - Fork 0
/
p6.css
109 lines (104 loc) · 1.3 KB
/
p6.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
*
{
margin: 0;
padding: 0;
font-family: 'poppins',sans-serif;
}
.container
{
width: 100%;
height: 100vh;
background: #fde6ee;
display: flex;
align-items: center;
}
.row
{
width: 80%;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.col
{
flex-basis: 30%;
position: relative;
}
.col img
{
width: 100%;
}
.info
{
width: 90%;
padding: 15px 0;
box-sizing: border-box;
text-align: center;
border-radius: 3px;
background: #001115;
color: #fff;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -50px;
}
.info h2
{
font-weight: normal;
}
.info p
{
font-size: 12px;
margin: 6px 0;
}
.icons .fab
{
font-size: 20px;
padding: 10px 8px;
cursor: pointer;
}
.fa-facebook
{
color: #5088fb;
}
.fa-youtube
{
color: #ff0000;
}
.fa-twitter
{
color: #1da1f2;
}
.fa-instagram
{
color: #e95950;
}
.pic
{
filter: grayscale(100%);
}
.icons
{
max-height: 0;
overflow: hidden;
transition: max-height 1s;
}
.col:hover .icons
{
max-height: 100px;
}
.layer
{
width: 100%;
position: absolute;
top: 0;
border-bottom: 2px solid red;
max-height: 0;
overflow: hidden;
transition: max-height 1s;
}
.col:hover .layer
{
max-height: 500px;
}