-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
58 lines (53 loc) · 912 Bytes
/
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
*{
box-sizing: border-box;
}
body{
margin: 0;
}
header{
margin: 0;
display: flex;
flex-direction: column;
height: 100vh;
}
.header{
height: 50px;
background-color: red;
}
.slider{
flex: 1;
overflow: hidden;
}
.slider-width{
height: 100%;
display: flex;
transition: all ease 0.3s;
}
.slider-item{
width: 100vw;
height: inherit;
background-position: center;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
color: white;
text-shadow: 0 1px 1px #333;
font-size: 50px ;
}
.slider-controls{
position: absolute;
z-index: 99;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.slider-control{
width: 50px;
height:50px ;
background-color: white;
border-radius: 50%;
overflow: hidden;
cursor: pointer;
}