modal_bg display none position fixed z-index 900 overflow none backgro

 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
.modal_bg {
display: none;
position: fixed;
z-index: 900;
overflow: none;
background-color: rgba(0, 0, 0, 0.75);
}
.modal_window {
display: none;
width: 100%;
height: 600px;
position: absolute;
margin: auto;
z-index: 1000;
}
.modal_window-box {
position: relative;
height: 100%;
width: 800px;
margin: auto;
background: #fff;
}
.modal_window-box button {
position: absolute;
right: 0;
background: #fee4b3;
border: none;
width: 80px;
height: 40px;
margin: 10px;
text-align: center;
font-family: sans-serif;
}
.modal_window-box button:hover{
box-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
}