.foo-block-element { border-radius: 5px; color: #fff; background-color: #08a9fe; box-shadow: 0 5px 20px rgba(8,169,254,.1); } .bar-block-component { position: relative; background-color: #f0f0f0; box-shadow: 0 5px 20px rgba(192,57,43,.1); height: calc(100% - 24px) !important; } .bar-block-component, .foo-block-element { margin: 10px; border-radius: 5px; color: #fff; } .bar-block-component .button-remove { position: absolute; top: 50%; right: 0px; width: 30px; height: 30px; padding: 0; background-color: transparent; border: none; transform: translateY(-50%); color: red; font-size: 20px; line-height: 30px; text-align: center; } .bf-content{ height: 80vh !important; }