-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathipweb.css
More file actions
63 lines (62 loc) · 842 Bytes
/
ipweb.css
File metadata and controls
63 lines (62 loc) · 842 Bytes
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
body{
margin:0;
padding:0;
background: #34495e;
}
.slidershow{
width: 700px;
heigth: 400px;
overflow: hidden;
}
.middle{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%)
}
.navigation{
position: absolute;
bottom:20px;
left:50%;
transform:translateX(-50%)
}
.bar{
width:50px;
height:10px;
border:2px solid #fff;
margin:6px;
cursor:pointer;
transition:0.4s;
}
.bar:hover{
background:#fff;
}
input[name="r"]{
position:absolute;
visibility:hidden;
}
.slides{
width:500px;
height:100px;
display:flex;
}
.slide{
width:20%;
transition:0.6s;
}
.slide img{
width: 100%;
height:100%;
}
#r1:checked ~.s1{
margin-left:0;
}
#r2:checked ~.s1{
margin-left:-20%;
}
#r3:checked ~.s1{
margin-left:-40%;
}
#r4:checked ~.s1{
margin-left:-80%;
}