-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
39 lines (34 loc) · 786 Bytes
/
style.css
File metadata and controls
39 lines (34 loc) · 786 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
body {
margin: 0;
padding: 0;
}
.content {
margin-top: 100px; /* added margin-top so content doesn't get covered */
}
.icon-grid {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
animation: diagonal-scroll 100s linear infinite;
background-image: url(logo.svg);
background-size: 5%;
padding: 10px;
box-sizing: border-box; /* include padding in box model */
z-index: -1;
}
.icon-grid div {
display: inline-block;
width: 10%; /* each icon takes up 10% of width */
height: 0;
padding-bottom: 10%; /* each icon has a 10% padding-bottom */
}
@keyframes diagonal-scroll {
0% {
background-position: 0 0;
}
100% {
background-position: 200% 200%;
}
}