-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
46 lines (41 loc) · 848 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
body {
margin: 0;
padding: 0;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
width: 100vw;
}
.container {
background-color: #34d1bf;
display: grid;
grid-template-columns: repeat(3, 1fr);
place-items: center;
padding: 0.5em;
height: 80vh;
min-height: 20em;
width: 40em;
min-width: 20em;
border-radius: 4em;
}
.cell {
background-color: #3454d1;
height: 175px;
width: 175px;
display: grid;
place-items: center;
border-radius: 15em;
font-size: 48px;
user-select: none;
}
.cell:hover {
opacity: 75%;
}
/*
Hacer una media query para que:
- a partir de 656 width el container se quede al 100% de width
- a partir de 672 height el container y las celdas escale correctamente
- a partir de 564 width reducir el tamaño de las celdas
*/