-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathroomDetailscss.css
100 lines (90 loc) · 1.73 KB
/
roomDetailscss.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.card-body
{
position: absolute;
left: 50%;
top: 25%;
}
.card{
padding-bottom: 10%;
width: 70%;
margin-left: 15%;
}
.rooms .slider {
align-items: left;
width: 800px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
user-select: none;
}
.rooms .slider .slides{
background-color: #a95c19a9;
padding: 30px;
height: 400px;
transition: all 0.15s ease;
user-select: none;
border-radius: 5%;
}
.rooms .slider .overflow{
width: 100%;
overflow: hidden;
user-select: none;
}
.rooms .slider .inner{
transition: margin-left 800ms cubic-bezier(0.77, 0, 0.175, 1);
width: 400%;
height: 340px;
user-select: none;
}
.rooms .slider .slide{
width: 25%;
float: left;
display: block;
height: 100%;
user-select: none;
}
.rooms .slides .content{
padding: 5px;
user-select: none;
}
.rooms .slides .content img {
width: 60%
}
.rooms .slider input {
display: none;
}
.rooms .dots {
display: flex;
justify-content: center;
margin: 5px;
user-select: none;
}
.rooms .dots label {
height: 20px;
width: 20px;
border-radius: 50%;
cursor: pointer;
transition: all 0.15s ease;
margin: 5px;
background: #a95c19a9;
user-select: none;
}
#img1:checked ~ .slides .inner {
margin-left: 0;
}
#img2:checked ~ .slides .inner {
margin-left: -100%;
}
#img3:checked ~ .slides .inner {
margin-left: -200%;
}
#img4:checked ~ .slides .inner {
margin-left: -300%;
}
#img1:checked ~ .dots label:nth-of-type(1),
#img2:checked ~ .dots label:nth-of-type(2),
#img3:checked ~ .dots label:nth-of-type(3),
#img4:checked ~ .dots label:nth-of-type(4) {
background: var(--brown2-color);
user-select: none;
}