-
Notifications
You must be signed in to change notification settings - Fork 0
/
slider.css
54 lines (46 loc) · 1.02 KB
/
slider.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
.position {
position: absolute;
top:65%;
left: 50%;
transform: translate(-50%, -50%);
}
.slider {
background-image: url(Images/Rus.png);
background-size: cover;
height: 30%;
width: 30%;
border-radius: 10px;
animation: animate 35s infinite;
}
@keyframes animate {
20% {
background-image: url(Images/Rus-Cama-Comida.png);
background-size: cover;
}
40% {
background-image: url(Images/Rus-Cama-Juguetes.png);
background-size: cover;
}
60% {
background-image: url(Images/Rus.png);
background-size: cover;
}
80% {
background-image: url(Images/CamaRus.png);
background-size: cover;
}
100% {
background-image: url(Images/TodosLosItems.png);
background-size: cover;
}
}
@media screen and (max-width: 768px) {
.position {
top: 65%;
left: 50%;
}
.slider{
height: 30%;
width: 80%
}
}