Initial commit
This commit is contained in:
19
src/components/UI/Modal/Modal.css
Normal file
19
src/components/UI/Modal/Modal.css
Normal file
@@ -0,0 +1,19 @@
|
||||
.Modal {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.Content {
|
||||
position: fixed;
|
||||
width: auto;
|
||||
height: auto;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 2001;
|
||||
}
|
||||
Reference in New Issue
Block a user