-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle-pemesanan.css
79 lines (68 loc) · 1.96 KB
/
style-pemesanan.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
.pemesanan {
display: block;
position: relative;
font-size: 2rem;
color: white;
}
#pemesanan-menu1:checked+label,
#pemesanan-menu2:checked+label,
#pemesanan-menu3:checked+label,
#pemesanan-menu4:checked+label,
#pemesanan-menu5:checked+label {
color: red;
}
.pemesanan-harga>* {
display: none;
}
#pemesanan-menu1:checked~.pemesanan-harga .pemesanan-harga-1,
#pemesanan-menu2:checked~.pemesanan-harga .pemesanan-harga-2,
#pemesanan-menu3:checked~.pemesanan-harga .pemesanan-harga-3,
#pemesanan-menu4:checked~.pemesanan-harga .pemesanan-harga-4,
#pemesanan-menu5:checked~.pemesanan-harga .pemesanan-harga-5 {
display: block;
}
.pemesanan-harga p {
color: rgb(214, 78, 4);
font-size: 2rem;
padding: 1rem 2rem;
border-radius: 1rem;
background-color: #fff;
border-width: 0;
width: 10rem;
}
.pemesanan-viewport-kanan {
position: absolute;
top: 3rem;
left: 60rem;
width: 40rem;
height: 40rem;
}
.pemesanan-gambar {
width: 50rem;
height: 30rem;
background-color: white;
border-color: white;
border-radius: 1rem;
border-width: 1rem;
border-style: solid;
}
#pemesanan-menu1:checked~.pemesanan-viewport-kanan .pemesanan-gambar {
background: url("img/img-1.jpg") no-repeat;
background-size: 100% 100%;
}
#pemesanan-menu2:checked~.pemesanan-viewport-kanan .pemesanan-gambar {
background: url("img/img-2.jpg") no-repeat;
background-size: 100% 100%;
}
#pemesanan-menu3:checked~.pemesanan-viewport-kanan .pemesanan-gambar {
background: url("img/img-3.jpg") no-repeat;
background-size: 100% 100%;
}
#pemesanan-menu4:checked~.pemesanan-viewport-kanan .pemesanan-gambar {
background: url("img/img-4.jpg") no-repeat;
background-size: 100% 100%;
}
#pemesanan-menu5:checked~.pemesanan-viewport-kanan .pemesanan-gambar {
background: url("img/img-5.jpg") no-repeat;
background-size: 100% 100%;
}