summaryrefslogtreecommitdiff
path: root/src/components/Modal.module.css
blob: 0df0030e8a0ff7d9a644e77f4a0811780d3ab46a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #444;
}

.content {
  outline: none;
  position: absolute;
  color: #ddd;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #444;
  padding: 20px;
  border-radius: 10px;
}