dylanmcleod
11/18/2015 - 2:01 AM

Fixed Element within relative container

Fixed Element within relative container

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