-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
55 lines (46 loc) · 773 Bytes
/
style.css
File metadata and controls
55 lines (46 loc) · 773 Bytes
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
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: inherit;
}
html {
font-size: 62.5%;
}
body {
font-family: "Lato", sans-serif;
font-weight: 300;
font-size: 14px;
line-height: 1.7;
color: #25283D;
padding: 1rem 2rem;
box-sizing: border-box;
letter-spacing: 1px;
word-spacing: 2px;
}
.container {
display: grid;
grid-template-columns: repeat(5, auto);
margin: 2% auto;
width: 750px;
grid-gap: 1px;
}
.container > div {
overflow: hidden;
height: 150px;
border: 1px solid;
}
.faces img {
height: 150px;
}
.faces {
grid-column: span 1;
grid-row: span 1;
transition: all 3s;
}
.faces:hover {
grid-column: span 3;
grid-row: span 2;
height: auto;
}