-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
67 lines (56 loc) · 1.08 KB
/
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
body, #slider, .wrap, .slide-content{
margin:0;
padding: 0;
width:100%;
height: 100vh;
overflow-x: hidden;
}
.wrap{
position: relative;
}
.slide{
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.slide1{
background-image: url('images/image1.jpeg');
}
.slide2{
background-image: url('images/image2.jpeg');
}
.slide3{
background-image: url('images/image3.jpeg');
}
.slide-content{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.slide-content span{
font-size: 5rem;
color: #fff;
}
.arrow{
cursor: pointer;
position: absolute;
top: 50%;
margin-top: -35px;
width: 0;
height: 0;
border-style: solid;
}
#arrow-left{
border-width: 30px 40px 30px 0;
border-color: transparent #fff transparent transparent;
left: 0;
margin-left: 30px;
}
#arrow-right{
border-width: 30px 0px 30px 40px;
border-color: transparent transparent transparent #fff;
right: 0;
margin-right: 30px;
}