forked from muzankibu977/Restaurent-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdinein.css
More file actions
81 lines (79 loc) · 1.54 KB
/
Copy pathdinein.css
File metadata and controls
81 lines (79 loc) · 1.54 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
*{
padding: 0;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
body{
background-image: url(./background4.jpg);
background-size: cover;
background-position: 0px -50px;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
overflow: hidden;
}
header{
position: absolute;
top: 0;
width: 95%;
display: flex;
justify-content: space-between;
font-size: 20px;
padding: 40px;
color: rgb(255, 255, 255);
}
header:hover{
background-color:black;
transition-duration: 0.4s;
}
header nav{
width: 55%;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 26px;
}
header nav a{
color: rgb(255, 255, 255);
text-decoration: none;
position: relative;
}
header nav a::before{
content: "";
position: absolute;
bottom: -5px;
left: 0;
background-color: rgb(255, 255, 255);
width: 0%;
height: 2.5px;
transition: .3s;
}
header nav a:hover::before{
width: 100%;
}
.container{
padding: 50px;
}
.text-box1{
background-color:rgb(255, 255, 255);color:rgb(0, 0, 0);padding:20px;
}
.text-box1:hover {
transition-duration: 0.4s;
background-color: #000000;
color: white;
}
.btn-group button {
background-color: rgb(0, 0, 0);
border: 6px solid rgb(255, 255, 255);
border-radius: 30px;
color: rgb(255, 255, 255);
padding: 10px 24px;
cursor: pointer;
float: left;
}
.btn-group:after {
content: "";
clear: both;
display: table;
}