css center modal vertically

45

.yourElement{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

Comments

Submit
0 Comments