-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp1.css
69 lines (59 loc) · 1.02 KB
/
p1.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
P {
font-family: 'Quintessential', cursive;
font-size: 16px;
}
.div1 {
display: grid;
grid-template: auto / auto;
grid-template-areas:
"images button"
"images info"
"footer footer"
;
}
@media screen and (max-width:50em){
.div1 {
grid-template: auto / auto;
grid-template-areas:
"images"
"button"
"info"
"footer"
;
}
}
.div2 {
grid-area: images;
width: fit-content;
height: fit-content;
margin: 5px;
justify-self: center;
}
.div3 {
grid-area: info;
margin: 0px;
justify-self: center;
}
.div4 {
grid-area: button;
margin: 0px;
align-self: flex-end;
justify-self: center;
}
.div5 {
grid-area:footer;
margin: 0px;
background-color: lightgray;
justify-self: center;
}
.button {
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 0px 2px;
cursor: pointer;
}