-
Notifications
You must be signed in to change notification settings - Fork 0
/
trystyle.css
79 lines (74 loc) · 1.21 KB
/
trystyle.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
68
69
70
71
72
73
74
75
76
77
78
79
element.style {
bottom: 0px;
/* background: black; */
background: rgb(0 0 0 / 77%);
width: 100%;
transform: translateX(-96px);
}
body{
background-color: brown;
}
.carousel-container{
position: relative;
height: 400px;
width: 50%;
/* overflow: hidden; */
}
/* .car-img{
width: 100%;
height: 100%;
object-fit: cover;
} */
.slide-box{
/* transform: translateX(50%); */
/* right: 50%; */
position: relative;
height: 100%;
width: 100%;
/* background-color: blue; */
}
.slide{
position: absolute;
width: 100%;
top: 0;
bottom: 0;
}
.car-slides{
width: 100%;
margin: 0;
padding: 0;
list-style: none;
position: relative;
height: 100%;
transition: transform 250ms ease-in;
}
button{
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.container{
display:flex;
justify-content: center;
}
.left{
left: -50px;
}
.right{
right: -50px;
}
.content1{
height: 100%;
width: 100%;
background-color:aqua;
}
.content2{
height: 100%;
width: 100%;
background-color:rgb(42, 4, 255);
}
.content3{
height: 100%;
width: 100%;
background-color:rgb(0, 255, 81);
}