sebastiano-guerriero
7/25/2018 - 8:20 AM

flex-alignment_03.scss

.parent {  
  position: relative;
  
  .child {
    width: 40%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}