body { background: #151515; color: #e8e3e3; } .center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; } .trans-cat img { width: 256px; margin: 12px; }