box-office.module.scss 892 Bytes
Newer Older
Jiwon Yoon's avatar
Jiwon Yoon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* // .cursor {
//     cursor: pointer;
// }

// .dNone {
//     display: none;
// }

// .dBlock {
//     display: block;
// } */

@media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
Kim, Subin's avatar
Kim, Subin committed
20
21
}

Jiwon Yoon's avatar
Jiwon Yoon committed
22
23
24
25
.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
Kim, Subin's avatar
Kim, Subin committed
26
27
}

Jiwon Yoon's avatar
Jiwon Yoon committed
28
29
30
31
32
33
34
35
36
37
38
39
/* medium and up screens */
@media (min-width: 768px) {
    
    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
      transform: translateX(25%);
    }
    
    .carousel-inner .carousel-item-start.active, 
    .carousel-inner .carousel-item-prev {
      transform: translateX(-25%);
    }
Kim, Subin's avatar
Kim, Subin committed
40
41
}

Jiwon Yoon's avatar
Jiwon Yoon committed
42
43
44
45
.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
  transform: translateX(0);
}