diff options
Diffstat (limited to 'src/components/Modal.module.scss')
| -rw-r--r-- | src/components/Modal.module.scss | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/components/Modal.module.scss b/src/components/Modal.module.scss new file mode 100644 index 0000000..6192a1f --- /dev/null +++ b/src/components/Modal.module.scss @@ -0,0 +1,21 @@ +.overlay { + position: fixed; + top: 0; + right: 0; + left: 0; + bottom: 0; + background: #444; + z-index: 1024; +} + +.content { + outline: none; + position: relative; + color: #ddd; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background: #444; + padding: 20px; + border-radius: 10px; +} |
