.code-block { position: relative; select { position: absolute; right: 0.5rem; top: 0.5rem; } }