-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHome.css
109 lines (105 loc) · 1.78 KB
/
Home.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.menu_bar{
/*position: fixed;
top: 0;
left: 0;
background-color: white;*/
width: 100%;
margin: -2px;
display: flex;
align-items: center;
padding: 19px 0;
justify-content: space-between;
}
.logo {
width: 100px;
cursor: pointer;
margin-left: 120px;
padding: -60px;
}
.menu_bar ul{
list-style: none;
display: flex;
}
.menu_bar ul li{
/* padding: 10px 30px;*/
position: relative;
list-style: none;
display: inline-block;
margin: 0 20px;
}
.menu_bar ul li a{
color: black;
text-decoration: none;
font-size: 20px;
transition: all 0.3s;
}
.menu_bar ul li a:hover{
color: blue;
}
.dm{
display: none;
}
.menu_bar ul li:hover .dm{
display: block;
position: absolute;
left: 0;
top:100%;
background-color: white;
z-index: 5;
}
.menu_bar ul li:hover .dm ul{
display: block;
margin: 10px;
z-index: 5;
}
.menu_bar ul li:hover .dm ul li{
width: 150px;
padding: 10px;
z-index: 5;
}
.fas{
float: right;
margin-left: 10px;
padding-top:3px ;
z-index: 5;
}
.dm2{
display: none;
z-index: 5;
}
.hover-me:hover .dm2{
position: absolute;
display: block;
margin-top: -40px;
margin-left: 140px;
background: white;
z-index: 5;
}
.container{
width: 100%;
height: 100vh;
background: white;
display: flex;
align-items: center;
justify-content: center;
}
.swiper{
width: 100%;
height: 70vh;
/*width: 80%;
height: fit-content;*/
}
.swiper-slide img{
width: 100%;
}
.swiper .swiper-button-prev, .swiper .swiper-button-next{
color: #fff;
}
.swiper .swiper-pagination-bullet-active{
background: #fff;
}