diff options
| author | Haishan <[email protected]> | 2019-04-14 22:56:14 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-04-14 22:56:14 +0800 |
| commit | 7dac1d44c7b13184e4a1cbdb4113df2bb8db9d7e (patch) | |
| tree | 44ca70a51497d5e0dddadaca384ee20541a157fe /src/components/Modal.module.css | |
| parent | 4a4f58c88a857d222fbd21749bfd7019eaee8659 (diff) | |
refactor: replace sass with postcss
Diffstat (limited to 'src/components/Modal.module.css')
| -rw-r--r-- | src/components/Modal.module.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/Modal.module.css b/src/components/Modal.module.css new file mode 100644 index 0000000..0df0030 --- /dev/null +++ b/src/components/Modal.module.css @@ -0,0 +1,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; +} |
