.article { height: 400px; width: 100%; background-position: center; background-size: cover; display: block; margin: 5px; } .overlayart { background-color: rgba(0, 0, 0, 0.568); position: relative; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; } .art { position: absolute; bottom: 50px; width: 100%; } .art h3 { color: white; padding: 0px 20px; width: 100%; } .art p { color: white; padding: 0px 20px; }