-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path(task1)style.css
113 lines (103 loc) · 1.82 KB
/
(task1)style.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
110
111
112
113
*{
padding:0;margin:0; box-sizing:border-box;
}
html {
height: 100%;
width: 100%;
}
body{
background-color: black;
color:white
}
nav{
width:100%;
height:100px;
display: flex;
justify-content:space-between;
align-items:center;
padding:0 15vh;
font-family: 'Poppins', sans-serif;
position:absolute;
top:0;
}
.menu a{
text-decoration:none;
color:white;
font-size:20px;
padding:10px 20px;
margin: 0px 5px;
}
.menu a{
background:#e74c3c;
color: white;
border-radius:0px 30px 0px 8px;
}
.menu a:hover{
background-color: white;
color:#e74c3c;
transition: 0.4s linear;
}
.line{
position:absolute;
top:22%;
left:8%;
}
.box1{
width:10px;
height:10px;
background:white;
}
.box2{
width:60px;
height:2px;
background:white;
}
.box3{
width:100px;
height:2px;
background:white;
}
.container{
width:100%;
height:100vh;
display: flex;
justify-content:space-between;
align-items:center;
padding:0px 100px;
}
.left{
flex-basis:40%;
}
.right{
flex-basis:50%;
}
.right img{
width:100%;
-webkit-box-reflect: below 1px linear-gradient(transparent,transparent,#0004);
}
.left h1{
font-size:4.5rem;
line-height:4.5rem;
}
.left button{
background: #e74c3c;
color:white;
padding:10px 20px;
margin-top:30px;
border:none;
outline:none;
border-radius:5px;
}
.left button:hover{
background-color: white;
color:#e74c3c;
transition: 0.4s linear;
}
.s-icon{
position:absolute;
bottom:10%;
left:5%;
}
.s-icon img{
width:100px;
}