-
Notifications
You must be signed in to change notification settings - Fork 0
/
style2 (1).css
103 lines (92 loc) · 1.59 KB
/
style2 (1).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
*{
margin:0;
padding:0;
font-family:"poppins",sans-serif;
box-sizing: border-box;
}
.header{
height: 500px;
width: 1520;
padding: 0 8%;
background-color: black;
position:relative;
}
nav{
display: flex;
align-items: center;
justify-content: space-between;
}
.logo{
width: 100px;
}
.nav-links{
padding: 28px 0;
}
.nav-links li{
display: inline-block;
margin: 0 15px;
}
.nav-links li a{
text-decoration: none;
color:white;
padding: 5px 0;
position: relative;
}
.nav-links li a::after{
content: '';
background: #ff3d00;
width: 0;
height: 2px;
position: absolute;
bottom: 0;
left: 0;
transition: width 0.5s;
}
.nav-links li a:hover::after{
width: 100%;
}
.content{
position: absolute;
left: 50%;
top: 50%;
width:90%;
max-width: 900px;
transform: translate(-50%, -50%);
text-align: center;
color: white;
background-image: url("back1.webp");
background-position: center;
}
.content h1{
font-size: 65px;
font-weight: 600;
margin-bottom: 20px;
}
.content form{
background: #fff;
padding:10px;
border-radius: 8px ;
display: flex;
}
.content form input{
flex: 1;
border: none;
outline: none;
padding: 0 20px;
font-size: 18px;
}
.content form button{
background: linear-gradient(45deg,#5f0c8b,#31aee3);
color: #fff;
padding: 15px 40px;
border: none;
border-radius: 6px ;
cursor: pointer;
}
.c1{
background-image: url("back2.jpg");
background-position: center;
}
td{
padding:10px;
}