-
Notifications
You must be signed in to change notification settings - Fork 0
/
grid.css
94 lines (93 loc) · 1.56 KB
/
grid.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: hsl(0, 0%, 95%);
display: flex;
place-items: center;
height: 100vh;
}
main{
display: grid;
grid-template-areas:
"a b c"
"a b c"
;
width: 50%;
margin: auto;
}
main div{
padding: 2em;
text-align: left;
}
.item-a{
background-color: hsl(31, 71%, 52%);
grid-area: a;
}
.item-a h1{
color: white;
font-size: 20px;
padding-bottom: 10px;
font-size: bold;
}
.item-a p{
color: white;
font-size: 15px;
padding: 10px;
}
.item-b{
background-color: hsl(184, 100%, 22%);
grid-area: b;
}
.item-b h1{
color: white;
font-size: 20px;
padding-bottom: 10px;
font-size: bold;
}
.item-b p{
color: white;
font-size: 15px;
padding: 10px;
}
.item-c{
background-color: hsl(179, 100%, 13%);
grid-area: c;
}
.item-c h1{
color: white;
font-size: 20px;
padding-bottom: 10px;
font-size: bold;
}
.item-c p{
color: white;
font-size: 15px;
padding: 10px;
}
.first{
background-color: white;
border: 1px solid hsl(31, 77%, 52%);
border-radius: 15px;
width: 100px;
height: 30px;
color: hsl(31, 77%, 52%);
}
.second{
background-color: white;
border: 1px solid hsl(184, 100%, 22%);
border-radius: 15px;
width: 100px;
height: 30px;
color: hsl(184, 100%, 22%);
}
.third{
background-color: white;
border: 1px solid hsl(179, 100%, 13%);
border-radius: 15px;
width: 100px;
height: 30px;
color: hsl(179, 100%, 13%);
}