forked from CodeYourFuture/HTML-CSS-Coursework-Week1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdesign.css
More file actions
105 lines (92 loc) · 1.57 KB
/
Copy pathdesign.css
File metadata and controls
105 lines (92 loc) · 1.57 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
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
102
103
104
105
body {
margin: 0;
padding: 0;
}
.container {
display: flex;
flex-direction: column;
justify-content: space-around;
background-color: grey;
width: 100%;
overflow: hidden;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: rgb(17, 1, 1) ;
height: 100px;
}
li a {
display: block;
color: rgb(245, 245, 248);
text-align: center;
padding: 16px 18px;
text-decoration: none;
font-size: 25px;
}
li a:hover {
background-color: brown;
}
li {
float: right;
}
li a:first-child {
color: rgb(221, 20, 20);
}
#logo {
margin-top: 120px;
}
article {
width: 80ch;
gap: 2rem;
}
#title {font-style: oblique;
color: rgb(247, 248, 244);
margin-top: -60px;
}
#home {
background-color: rgb(94, 80, 80);
}
article:first-child {color: blue;}
#samsung {
margin-left: 700px;
margin-top: -1600px;
width: 700px;
}
#link {
margin-left: 500px;
font-size: 40px;
}
#iphone {
margin-left: 700px;
margin-top: -1600px;
width: 450px;
height: 450px;
}
#huawei {
margin-left: 700px;
margin-top: -1800px;
width: 650px;
height: 1200px;
}
footer {
height: 100px;
color: white;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
background-color: rgb(1, 14, 14);
}
.media {
display: flex;
flex-direction: column;
}
p {
margin-left: 20px;
}
h1 {margin-left: 20px;}
navbar {position: fixed;
width: 1350px;}