.outerContainer { height: 400px; margin: 10px auto; overflow: hidden; position: relative; width: 90%; } .controlsContainer { background: #ccc; border-left: 2px groove #c0c0c0; bottom: 0; display: flex; flex-direction: column; padding: 10px; position: absolute; right: 0; top: 0; width: 170px; z-index: 1; } .animationContainer { background: rgba(102, 51, 153, 0.1); height: 100%; margin-right: 170px; position: relative; z-index: 0; } // .palette { // background: url('../res/palette.svg'); // background-size: 167px 100px; // height: 100px; // position: absolute; // width: 167px; // } // // .highlight { // $h: 30px; // animation: pulse 0.5s 1; // border-radius: $h / 2; // position: absolute; // } // // @keyframes pulse { // $h: 30px; // // from { // border: 4px solid lightgreen; // height: $h; // margin: (-1 * $h / 2) 0 0 (-1 * $h / 2); // width: $h; // } // // to { // height: 0px; // margin: 0; // width: 0px; // } // }