forked from Codi-B07/HTML-Challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle3.css
More file actions
69 lines (61 loc) · 919 Bytes
/
style3.css
File metadata and controls
69 lines (61 loc) · 919 Bytes
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
*{
margin: 0;
box-sizing: border-box;
padding:0;
}
body{
color: whitesmoke;
max-width: 1000px;
margin: 0 auto;
background-color: rgb(5, 46, 46);
}
.img-p{
position: relative;
}
.position{
position: absolute;
top: 10%;
left: 3%;
}
img{
width: 100%;
height: 20rem;
border: 1px solid whitesmoke;
}
.nav-bar{
display: flex;
justify-content: space-around;
list-style: none;
padding: 1rem;
background-color:rgb(3, 24, 24);
margin: auto;
}
.grid-parent{
display: grid;
grid-template-columns: 23% 32% 32%;
column-gap: 6%;
row-gap: 7%;
margin-top: 3rem;
}
.main-menu{
grid-column: 1;
}
.gallery{
grid-column: 2/4;
}
.message{
border:1px solid black;
margin-top: 5rem;
}
.gallery h3{
margin-bottom: 1rem;
}
p{
margin-top:1rem;
}
.Other-services p{
margin-top: -0.5rem ;
}
.subscription p{
margin-top:-0.5rem
}