I need to have an extra frame into which one could later stuff more content. I did not get it to align. Here is the code.
div.preview-box {position: absolute; width: 70px; height: 60px; background-image: linear-gradient(to top, #252323, rgba(0,0,0, 0.86)); border: 1px solid black; border-bottom: 0px;} div.preview-box::after {content: ""; border: 2px solid #343333; position: fixed; width: 68px; height: 58px;} <div class="preview-box"></div> That is, it is necessary that the frame be centered and indented 1px from each side.