-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstilo slider.css
More file actions
128 lines (105 loc) · 1.69 KB
/
stilo slider.css
File metadata and controls
128 lines (105 loc) · 1.69 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
body {
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
text-align: center;
color: branco#fff;
background-color: rgb(184, 83, 215);
padding: 0px;
margin: 0px;
}
body{
margin:0;
padding: 0;
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.slider{
margin: 0 auto;
width: 800px;
height: 400px;
overflow: hidden;
}
.slides {
width: 400%;
height: 400px;
display: flex;
}
.slides input {
display: none;
}
.slide{
width: 25%;
position: relative;
}
.slide img{
width: 800px;
}
.manual-navigation{
position:absolute;
width: 800px;
margin-top: -40px;
display: flex;
justify-content: center;
}
.manual-btn {
border: 2px solid #fff;
padding: 5px;
border-radius: 10px;
cursor: pointer;
transition: 1s;
}
.manual-btn:not(:last-child){
margin-right: 40px;
}
.manual-btn:hover{
background-color: #fff;
}
#radio1:checked ~ .first{
margin-left: 0%;
}
#radio2:checked ~ .first{
margin-left: -25%;
}
#radio3:checked ~ .first{
margin-left: -50%;
}
#radio4:checked ~ .first{
margin-left: -75%;
}
.navigation-auto div{
border: 2px solid #071cff
padding
}
nav {
display: flex;
justify-content: space-between;
padding: 20px;
border-bottom: 1px solid #666;
}
nav ul {
display: flex;
align-items: center;
list-style: none;
}
ul li{
margin-right: 12px;
}
ul li a {
color: #fff;
}
h1 {
font-size: 32px;
}
img {
border: 5px solid rgb(0, 0, 0);
}
footer {
padding: 10px;
border-top: 3px solid #666;
margin-top: 60px;
}
p {
font-size: larger;
}