-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
65 lines (58 loc) · 1000 Bytes
/
style.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
body {
width: 100vw;
height: 100vh;
display: grid;
grid-template-rows: 10% 90%;
overflow: hidden;
background: black;
color: white;
}
#memeButton {
padding: 5px;
cursor: pointer;
border-radius: 8px;
transition: 250ms;
width: 100px;
height: 20px;
text-align: center;
margin-left: 5%;
background: white;
color: black;
}
#memeButton:hover {
transform: scale(1.2);
}
#memes {
display: flex;
flex-wrap: wrap;
height: 100%;
width: 100%;
overflow: scroll;
padding: 10px;
margin-left: 10px;
}
#memes div {
margin: 10px;
padding: 5px;
border-radius: 8px;
height: auto;
width: 250px;
}
#memes div h4 {
padding: 5px;
text-align: center;
background: none;
color: white;
border-radius: 8px;
margin: 0px;
}
img {
width: 250px;
height: 250px;
border-radius: 12px;
transition: 200ms;
}
img:hover {
border-radius: 0px;
transform: scale(1.2);
}