-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtourNav.css
84 lines (69 loc) · 1.07 KB
/
tourNav.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.navbar{
width: 80%;
margin: 0 auto;
}
#container{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
width: 100%;
overflow: hidden;
}
header{
background: #dbece7;
}
.logo{
float: left;
padding: 10px 0;
}
nav ul{
margin: 0;
padding: 0;
list-style: none;
}
nav li{
display: inline-block;
margin-left: 70px;
padding: 23px 0;
position: relative;
}
nav a{
color: rgb(71, 70, 70);
text-decoration: none;
text-transform: uppercase;
}
nav a:hover{
color: rgb(37, 36, 36);
}
nav a::before{
content: "";
display: block;
height: 5px;
width: 100%;
background-color: orangered;
position: absolute;
top: 0;
width: 0%;
transition: all ease-in-out 250ms;
}
nav a:hover::before{
width: 100%;
}
#logo-img{
flex-direction: start;
height: fit-content;
}
#nav-disp{
display: flex;
}
ul>ul{
display: flex;
margin-left: 70%;
}
#login{
background-color: tomato;
position: relative;
left: 450px;
top: 22px;
border: 0px;
}