center modal
This commit is contained in:
parent
ab20c0693c
commit
4d28da04a6
@ -6,14 +6,18 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0,0,0,0.4);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.body{
|
||||
background-color: #fefefe;
|
||||
margin: 15% auto; /* 15% from the top and centered */
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 80%; /* Could be more or less, depending on screen size */
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.hidden{
|
||||
|
Loading…
Reference in New Issue
Block a user