.image { background-image: url(star.png); } .gradient { background-image: linear-gradient(90deg, rgba(119,0,255,1) 39%, rgba(0,212,255,1) 100%); }