forked from CodeYourFuture/HTML-CSS-Coursework-Week3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
73 lines (66 loc) · 1.02 KB
/
style.css
File metadata and controls
73 lines (66 loc) · 1.02 KB
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
header {
border: 1px solid;
background-color: #ededed;
}
nav {
font-size: 17px;
display: block;
flex-direction: row;
margin-left: 270px;
margin-top: 20px;
}
li {
list-style-type: none;
}
.cake {
width: 90px;
height: 120px;
margin-left: 30px;
margin-top: -40px;
}
p {
width: 170px;
margin-left: 180px;
margin-top: -40px;
font-size: 17px;
color: rgb(85, 85, 131);
}
h1 {margin-left: 30px;}
.para {
width: 350px;
margin-left: 30px;
}
.img-1 {
width: 200px;
height: 120px;
margin-left: 80px;
margin-top: 60px;
}
.img-di {
background-color: #ededed;
height: 250px;
}
img {
width: 130px;
height: 70px;
}
.flex {
display: grid;
grid-template-columns: auto auto;
gap: 15px;
justify-content: space-between;
}
.grid-item {
height: 100%;
width: 100%;
}
.footer {
display: grid;
gap: 10px;
}
@media screen and (min-width: 900px) {
nav {
display: block;
flex-direction: row;
}
}