-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
63 lines (60 loc) · 938 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
59
60
61
62
63
*{
box-sizing: border-box;
}
body {
margin: 0;
}
header{
margin: 0;
display: flex;
flex-direction: column;
height: 100vh;
}
.slider{
flex: 1;
overflow: hidden;
}
.slider--width{
height: 100%;
display: flex;
transition: all ease 0.5s;
}
.slider--item{
width: 100vw;
height: inherit;
background-position: center;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
.slider--controls{
position: absolute;
z-index: 99;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.slider--control{
width: 50px;
height: 50px;
border-radius: 50%;
overflow: hidden;
cursor: pointer;
margin: 5px;
background-color: black;
}
img{
width: 100%;
}
.img--left{
rotate: 180deg;
}
footer{
margin: 20px;
text-align: center;
}
footer a{
color: #000;
}