Fixed Element within relative container
.fixed-container { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); }