.preview_controls { opacity: 0; display: block; background: rgba(0, 0, 0, 0.5); width: 56px; height: 56px; text-align: center; line-height: 56px; position: absolute; border-radius: 5px; top: 0; right: 0; transition: opacity 200ms ease-in-out; } .preview_playlist_controls { cursor: pointer; }