-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout_practice1.css
101 lines (86 loc) · 1.83 KB
/
layout_practice1.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
*{
margin: 0;
box-sizing: border-box;
}
:root {
--clr-dark: #070a12;
--clr-light: #f1f5f9;
--clr-accent: #e11d48;
--clr-lightRose: #fb7185;
--clr-green: #4ade80;
--clr-sky: #38bdf8;
--clr-pink: #f472b6;
--clr-violet: #a78bfa;
--clr-yellow: #facc15;
}
body {
line-height: 1.6;
word-spacing: 1.4px;
font-family: 'Roboto', sans-serif;
background-color: var(--clr-light);
color: var(--clr-dark);
font-size: 1.6rem;
}
.la{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
h1{
position: absolute;
display: flex;
align-items: center;
justify-content: center;
font-size: 55px;
font-weight: bolder;
}
.container {
border: 10px solid rgb(133, 130, 130);
padding: 25px;
display: grid;
grid-template-areas: 'it1 it1 it2'
'it3 it4 it2' 'it6 it4 it5'
'it6 it7 it7';
grid-gap: 1.5em;
height: 60vh;
width: 100vh;
min-width: 0px;
min-height: 540px;
}
.item {
border-radius: 20px;
display: grid;
justify-content: center;
align-items: center;
border: 10px solid rgb(133, 130, 130);
overflow: hidden;
}
.item-1 {
background-color: var(--clr-lightRose);
grid-area: it1;
}
.item-2 {
background-color: var(--clr-sky);
grid-area: it2;
}
.item-3 {
background-color: var(--clr-green);
grid-area: it3;
}
.item-4 {
background-color: var(--clr-yellow);
grid-area: it4;
}
.item-5 {
background-color: var(--clr-violet);
grid-area: it5;
}
.item-6 {
background-color: var(--clr-pink);
grid-area: it6;
}
.item-7 {
background-color: var(--clr-lightRose);
grid-area: it7;
}