movieComming.module.scss 538 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
20
21
22
23
24
25
26
.layer{
    position: relative;
}
// .poster{
//     opacity: 1;
//     &:hover{
//         opacity: 0.3;
//     }
// }
.description{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color:rgba(0, 0, 0, 0.6);
    text-align: center;
    color:white;
    //ellipsis
    text-overflow: ellipsis;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
Jiwon Yoon's avatar
Jiwon Yoon committed
27
    &:hover{
Jiwon Yoon's avatar
Jiwon Yoon committed
28
        opacity: 1;
Jiwon Yoon's avatar
Jiwon Yoon committed
29
30
    }
}