-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
68 lines (57 loc) · 1.58 KB
/
index.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
body{
font-family: Arial,sans-serif;
text-justify: center;
text-align: center;
}
.d1 { background-color:#38023B; color: #fff; }
.d2 { background-color:#A288E3; color: #fff; }
.d3 { background-color: #BBD5ED; color: #fff; }
.d4 { background-color: #CEFDFF; color: #fff; }
.d5 { background-color: #CCFFCB; color: #fff; }
.d6 { background-color: yellow; color: #fff; }
.d7 { background-color: orange; color: #fff; }
.d8 { background-color: cornflowerblue; color: #fff; }
.d9 { background-color: teal; color: #fff; }
.d10 { background-color: olivedrab; color: #fff; }
.container {
margin-bottom: 20px;
display: grid;
grid-template-columns: 50px 50px;
}
.container2 {
margin-bottom: 20px;
display: grid;
grid-template-columns: 60% 40%;
}
.container3 {
margin-bottom: 20px;
font-size: 40px;
width: 100%;
background: LightGray;
display: grid;
grid-template-columns: 100px 100px 100px;
}
.container4 {
margin-bottom: 20px;
font-size: 40px;
width: 100%;
background: LightGray;
display: grid;
grid-template-columns: 100px 100px 100px;
grid-template-rows: 150px 150px;
/* To create a gap of 10px between rows and 20px between columns */
grid-gap: 10px 20px;
}
.container5 {
margin-bottom: 20px;
font-size: 40px;
width: 100%;
background: LightGray;
display: grid;
grid-template-columns: 1fr 2fr 1fr;
grid-template-rows: 50px 50px;
/* To create a gap of 20px between columns of grid */
grid-column-gap: 20px;
/* To create a gap of 20px between rows of grid */
grid-row-gap: 20px;
}