showing results for - "why can 27t i move my react bootstrapmodal over to the left"
Joachim
08 Feb 2020
1#modal {
2  /*Position and width*/
3  position: fixed;
4  width: 30%;
5  height: fit-content;
6  
7  /*NOTE: If you want your modal's position to be absolute or fixed, you should also include:*/
8  top: 0;
9  left: 0;
10  right: 0;
11  bottom: 0;
12  
13  /*Centering horizintally*/
14  margin: auto;
15
16  /*Purely visual stuff*/
17  border: 2px solid #ccc;
18  border-radius: 3px;
19  background-color: ghostwhite;
20  text-align:center;
21}
similar questions