.post-.is_sample { background: linear-gradient( rgba(0, 0, 0, 0.9), rgba(255, 20, 147, 0.3) ), url(https://www.example.com/thumbnails/.png); background-size: cover; background-repeat: no-repeat; background-position: center; }