summaryrefslogtreecommitdiff
path: root/day9/task5/static/css/ContentBoxStyle.css
blob: 5b7782d330af6f7400f943d162be758384aeb7f3 (plain)
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
.contentBox {
    padding: 20px;
    width: 500px;
    height: 700px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.backgroundTint {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
}

.shown {
    display: inline;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hidden {
    display: none;
}